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>
+ <istrue value="${someproperty}" />
+ <istrue value="false" />
+</pre>
+
+<h4>isfalse</h4>
+<p>Tests whether a string is not true, the negation of <istrue>
+</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>
+ <isfalse value="${someproperty}" />
+ <isfalse value="false" />
+</pre>
+
<hr>
<p align="center">Copyright © 2001-2002 Apache Software
Foundation. All rights Reserved.</p>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>