ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject cvs commit: jakarta-ant/docs/manual/CoreTasks conditions.html
Date Fri, 19 Apr 2002 07:15:02 GMT
stevel      02/04/19 00:15:02

  Modified:    docs/manual/CoreTasks conditions.html
  Log:
  new istrue/isfalse conditions
  
  Revision  Changes    Path
  1.9       +41 -1     jakarta-ant/docs/manual/CoreTasks/conditions.html
  
  Index: conditions.html
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/docs/manual/CoreTasks/conditions.html,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- conditions.html	20 Feb 2002 08:36:27 -0000	1.8
  +++ conditions.html	19 Apr 2002 07:15:02 -0000	1.9
  @@ -213,7 +213,7 @@
   </table>
   
   <h4>contains</h4>
  -<p>Tests whether the a given Strings contains another one.</p>
  +<p>Tests whether a string contains another one.</p>
   <table border="1" cellpadding="2" cellspacing="0">
     <tr>
       <td valign="top"><b>Attribute</b></td>
  @@ -238,6 +238,46 @@
     </tr>
   </table>
   
  +<h4>istrue</h4>
  +<p>Tests whether a string equals any of the ant definitions of true,
  +that is "true","yes", or "on"</p>
  +<table border="1" cellpadding="2" cellspacing="0">
  +  <tr>
  +    <td valign="top"><b>Attribute</b></td>
  +    <td valign="top"><b>Description</b></td>
  +    <td align="center" valign="top"><b>Required</b></td>
  +  </tr>
  +  <tr>
  +    <td valign="top">value</td>
  +    <td valign="top">value to test</td>
  +    <td valign="top" align="center">Yes</td>
  +  </tr>
  +</table>
  +<pre>
  +    &lt;istrue value=&quot;${someproperty}&quot; /&gt;
  +    &lt;istrue value=&quot;false&quot; /&gt;
  +</pre>   
  + 
  +<h4>isfalse</h4>
  +<p>Tests whether a string is not true, the negation of &lt;istrue&gt;
  +</p>
  +<table border="1" cellpadding="2" cellspacing="0">
  +  <tr>
  +    <td valign="top"><b>Attribute</b></td>
  +    <td valign="top"><b>Description</b></td>
  +    <td align="center" valign="top"><b>Required</b></td>
  +  </tr>
  +  <tr>
  +    <td valign="top">value</td>
  +    <td valign="top">value to test</td>
  +    <td valign="top" align="center">Yes</td>
  +  </tr>
  +</table>
  +<pre>
  +    &lt;isfalse value=&quot;${someproperty}&quot; /&gt;
  +    &lt;isfalse value=&quot;false&quot; /&gt;
  +</pre>   
  + 
   <hr>
   <p align="center">Copyright &copy; 2001-2002 Apache Software
   Foundation. All rights Reserved.</p>
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message