From ea89580525b7a07a409a6a8f415f40c7a5422ed2 Mon Sep 17 00:00:00 2001
From: Matthew Jason Benson Display or set a property containing length information for
- a string, a file, or one or more nested filesets. Can also
- be used as a condition. Since Ant 1.6.3Length
Description
mode | File length mode; when "all" the resulting - value is the sum of all included files' lengths; when "each" - the task outputs the absolute path and length of each included file, + value is the sum of all included resources' lengths; when "each" + the task outputs the absolute path and length of each included resource, one per line. Ignored when processing as a condition. | No; default is "all" | |
when | -Comparison type: "equal", "greater", "less" - for use when operating as a condition. | +Comparison type: "equal", "eq", "greater", "gt", "less", + "lt", "ge" (greater or equal), "ne" (not equal), "le" (less or equal) + for use when operating as a condition. | No; default is "equal" |
You can include files via nested - filesets.
+You can include resources via nested + Resource Collections.
<length string="foo" property="length.foo" />