umagesh 01/11/26 06:22:19
Modified: docs/manual/CoreTasks condition.html
Log:
Clarify evaluation pattern of attributes defined for <os>
Revision Changes Path
1.9 +8 -5 jakarta-ant/docs/manual/CoreTasks/condition.html
Index: condition.html
===================================================================
RCS file: /home/cvs/jakarta-ant/docs/manual/CoreTasks/condition.html,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- condition.html 2001/11/25 07:54:28 1.8
+++ condition.html 2001/11/26 14:22:19 1.9
@@ -79,7 +79,10 @@
are redundant and will be ignored.</p>
<h4>os</h4>
-<p>Test whether the current operating system is of a given type.</p>
+<p>Test whether the current operating system is of a given type. Each
+defined attribute is tested and the result is true only if <i>all</i>
+the tests succeed.
+</p>
<table border="1" cellpadding="2" cellspacing="0">
<tr>
<td valign="top"><b>Attribute</b></td>
@@ -188,12 +191,12 @@
in the Unix family as well.</p>
<pre>
- <condition property="isSparc">
- <os arch="sparc" />
+ <condition property="isSunOSonSparc">
+ <os name="SunOS" arch="sparc" />
</condition>
</pre>
-<p>sets the property <code>isSparc</code> if the current
-operating system is running on a sparc architecture.</p>
+<p>sets the property <code>isSunOSonSparc</code> if the current
+operating system is SunOS and if it is running on a sparc architecture.</p>
<hr>
<p align="center">Copyright © 2001 Apache Software
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>