@@ -11,8 +11,9 @@
<h2>Length</h2>
<h2>Length</h2>
<h3>Description</h3>
<h3>Description</h3>
<p>Display or set a property containing length information for
<p>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. <b>Since Ant 1.6.3</b></p>
a string, a file, or one or more nested
<a href="../CoreTypes/resources.html#collection">Resource Collection</a>s.
Can also be used as a condition. <b>Since Ant 1.6.3</b></p>
<h3>Parameters</h3>
<h3>Parameters</h3>
<table border="1" cellpadding="2" cellspacing="0">
<table border="1" cellpadding="2" cellspacing="0">
<tr>
<tr>
@@ -40,8 +41,8 @@
<tr>
<tr>
<td valign="top">mode</td>
<td valign="top">mode</td>
<td valign="top">File length mode; when "all" the resulting
<td valign="top">File length mode; when "all" the resulting
value is the sum of all included fil es' lengths; when "each"
the task outputs the absolute path and length of each included fil e,
value is the sum of all included resourc es' lengths; when "each"
the task outputs the absolute path and length of each included resourc e,
one per line. Ignored when processing as a condition.</td>
one per line. Ignored when processing as a condition.</td>
<td valign="top" align="center">No; default is "all"</td>
<td valign="top" align="center">No; default is "all"</td>
</tr>
</tr>
@@ -57,14 +58,16 @@
</tr>
</tr>
<tr>
<tr>
<td valign="top">when</td>
<td valign="top">when</td>
<td valign="top">Comparison type: "equal", "greater", "less"
for use when operating as a condition.</td>
<td valign="top">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.</td>
<td valign="top" align="center">No; default is "equal"</td>
<td valign="top" align="center">No; default is "equal"</td>
</tr>
</tr>
</table>
</table>
<h3>Parameters specified as nested elements</h3>
<h3>Parameters specified as nested elements</h3>
<h4>fileset</h4><p>You can include files via nested
<a href="../CoreTypes/fileset.html">fileset</a>s.</p>
<h4>Resource Collections</h4>
<p>You can include resources via nested
<a href="../CoreTypes/resources.html#collection">Resource Collection</a>s.</p>
<h3>Examples</h3>
<h3>Examples</h3>
<pre><length string="foo" property="length.foo" />
<pre><length string="foo" property="length.foo" />
</pre>
</pre>