mbenson 2005/05/23 14:22:12 Modified: docs/manual/CoreTasks length.html Log: Document length task changes. Revision Changes Path 1.5 +11 -8 ant/docs/manual/CoreTasks/length.html Index: length.html =================================================================== RCS file: /home/cvs/ant/docs/manual/CoreTasks/length.html,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- length.html 29 Apr 2005 18:58:13 -0000 1.4 +++ length.html 23 May 2005 21:22:12 -0000 1.5 @@ -11,8 +11,9 @@ <h2>Length</h2> <h3>Description</h3> <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> <table border="1" cellpadding="2" cellspacing="0"> <tr> @@ -40,8 +41,8 @@ <tr> <td valign="top">mode</td> <td valign="top">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.</td> <td valign="top" align="center">No; default is "all"</td> </tr> @@ -57,14 +58,16 @@ </tr> <tr> <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> </tr> </table> <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> <pre><length string="foo" property="length.foo" /> </pre>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]