From b261a711ce7ec665fd3bd9c042eac172bf9d300c Mon Sep 17 00:00:00 2001
From: Magesh Umasankar
Date: Mon, 26 Nov 2001 14:22:19 +0000
Subject: [PATCH] Clarify evaluation pattern of attributes defined for
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270022 13f79535-47bb-0310-9956-ffa450edef68
---
docs/manual/CoreTasks/condition.html | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
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.
+
Attribute |
@@ -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