From b9421dc80af485591a9c50cc8921f912e0def11e Mon Sep 17 00:00:00 2001 From: Ashlee Young Date: Fri, 23 Oct 2015 10:05:40 -0700 Subject: Removing sources to replace with download links instead. Change-Id: Ie28789a725051aec0d1b04dd291b7690a7898668 Signed-off-by: Ashlee Young --- .../apache-ant-1.9.6/manual/Tasks/condition.html | 110 --------------------- 1 file changed, 110 deletions(-) delete mode 100644 framework/src/ant/apache-ant-1.9.6/manual/Tasks/condition.html (limited to 'framework/src/ant/apache-ant-1.9.6/manual/Tasks/condition.html') diff --git a/framework/src/ant/apache-ant-1.9.6/manual/Tasks/condition.html b/framework/src/ant/apache-ant-1.9.6/manual/Tasks/condition.html deleted file mode 100644 index 405f95e7..00000000 --- a/framework/src/ant/apache-ant-1.9.6/manual/Tasks/condition.html +++ /dev/null @@ -1,110 +0,0 @@ - - - - - - -Condition Task - - - - -

Condition

-

Description

-

Sets a property if a certain condition holds true - this is a -generalization of Available and Uptodate.

-

If the condition holds true, the property value is set to true by -default; otherwise, the property is not set. You can set the value to -something other than the default by specifying the value -attribute.

-

Conditions are specified as nested elements, -you must specify exactly one condition.

-

Parameters

- - - - - - - - - - - - - - - - - - - - - -
AttributeDescriptionRequired
propertyThe name of the property to set.Yes
valueThe value to set the property to. Defaults to - "true".No
elseThe value to set the property to if the condition - evaluates to false. By default the property will remain unset. - Since Apache Ant 1.6.3 - No
-

Parameters specified as nested elements

-

All conditions to test are specified as nested elements, for a -complete list see here.

- -

Examples

-
-  <condition property="javamail.complete">
-    <and>
-      <available classname="javax.activation.DataHandler"/>
-      <available classname="javax.mail.Transport"/>
-    </and>
-  </condition>
-
-

sets the property javamail.complete if both the -JavaBeans Activation Framework and JavaMail are available in the -classpath.

- -
-  <condition property="isMacOsButNotMacOsX">
-    <and>
-      <os family="mac"/>
-
-      <not>
-        <os family="unix"/>
-
-      </not>
-    </and>
-  </condition>
-
-

sets the property isMacOsButNotMacOsX if the current -operating system is MacOS, but not MacOS X - which Ant considers to be -in the Unix family as well.

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

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

- - - - - -- cgit 1.2.3-korg