diff --git a/docs/manual/CoreTasks/condition.html b/docs/manual/CoreTasks/condition.html index 42c5fcc46..252560cc5 100644 --- a/docs/manual/CoreTasks/condition.html +++ b/docs/manual/CoreTasks/condition.html @@ -79,7 +79,10 @@ elements of that task are supported, the property and value attributes are redundant and will be ignored.

os

-

Test whether the current operating system is of a given type.

+

Test whether the current operating system is of a given type. Each +defined attribute is tested and the result is true only if all +the tests succeed. +

@@ -188,12 +191,12 @@ operating system is MacOS, but not MacOS X - which Ant considers to be in the Unix family as well.

-  <condition property="isSparc">
-    <os arch="sparc" />
+  <condition property="isSunOSonSparc">
+    <os name="SunOS" arch="sparc" />
   </condition>
 
-

sets the property isSparc if the current -operating system is running on a sparc architecture.

+

sets the property isSunOSonSparc if the current +operating system is SunOS and if it is running on a sparc architecture.


Copyright © 2001 Apache Software

Attribute