mbenson     2005/05/25 14:50:15

  Modified:    docs/manual/CoreTasks conditions.html
  Log:
  Add resourcecount + a little cleanup
  
  Revision  Changes    Path
  1.41      +18 -6     ant/docs/manual/CoreTasks/conditions.html
  
  Index: conditions.html
  ===================================================================
  RCS file: /home/cvs/ant/docs/manual/CoreTasks/conditions.html,v
  retrieving revision 1.40
  retrieving revision 1.41
  diff -u -r1.40 -r1.41
  --- conditions.html   20 May 2005 22:36:59 -0000      1.40
  +++ conditions.html   25 May 2005 21:50:15 -0000      1.41
  @@ -630,20 +630,20 @@
     <b>Since Ant 1.6.3</b>
   </p>
   
  -Verify a string is of a certain length:
   <pre>
  -&lt;length string=&quot; foo &quot; trim="true" length=&quot;3&quot;/&gt;
  +&lt;length string=&quot; foo &quot; trim="true" length=&quot;3&quot; /&gt;
   </pre>
  +<p>Verify a string is of a certain length.</p>
   
  -Verify a file is not empty:
   <pre>
  -&lt;length file=&quot;foo&quot; when=&quot;greater&quot; 
length=&quot;0&quot;/&gt;
  +&lt;length file=&quot;foo&quot; when=&quot;greater&quot; 
length=&quot;0&quot; /&gt;
   </pre>
  +<p>Verify that file <i>foo</i> is not empty.</p>
   
   <h4>isfailure</h4>
   
  -<p>Test the return code of an executable (see
  -<a href="exec.html">&lt;exec&gt;</a>) for failure. <b>Since Ant 1.7</b></p>
  +<p>Test the return code of an executable (see the
  +<a href="exec.html">Exec</a> task) for failure. <b>Since Ant 1.7</b></p>
   
   <table border="1" cellpadding="2" cellspacing="0">
     <tr>
  @@ -658,6 +658,18 @@
     </tr>
   </table>
   
  +<h4>resourcecount</h4>
  +<p>This condition is a facet of the
  +  <a href="resourcecount.html">ResourceCount</a> task.
  +  It is used to test the size of a 
  +  <a href="../CoreTypes/resources.html#collection">resource collection</a>.
  +  <b>Since Ant 1.7</b>
  +</p>
  +
  +<pre>
  +&lt;resourcecount refid=&quot;myresourcecollection&quot; 
when=&quot;greater&quot; length=&quot;0&quot; /&gt;
  +</pre>
  +<p>Verify that a resource collection is not empty.</p>
   <hr>
   <p align="center">Copyright &copy; 2001-2005 Apache Software
   Foundation. All rights Reserved.</p>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to