From 753a6c60f47f3ac4f270005b65e9d6481de8eb68 Mon Sep 17 00:00:00 2001 From: Ashlee Young Date: Fri, 23 Oct 2015 10:00:02 -0700 Subject: Adding maven and ant source trees Change-Id: I0a39b9add833a31b9c3f98d193983ae2f3a5a445 Signed-off-by: Ashlee Young --- .../apache-ant-1.9.6/manual/Tasks/antversion.html | 95 ++++++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 framework/src/ant/apache-ant-1.9.6/manual/Tasks/antversion.html (limited to 'framework/src/ant/apache-ant-1.9.6/manual/Tasks/antversion.html') diff --git a/framework/src/ant/apache-ant-1.9.6/manual/Tasks/antversion.html b/framework/src/ant/apache-ant-1.9.6/manual/Tasks/antversion.html new file mode 100644 index 00000000..cd9f838a --- /dev/null +++ b/framework/src/ant/apache-ant-1.9.6/manual/Tasks/antversion.html @@ -0,0 +1,95 @@ + + + + + + +Antversion Task + + + + +

Antversion

+

Description

+

+Stores the Apache Ant version (when used as task) or checks for a specific Ant version +(when used as condition). +Since Ant 1.7.0 +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
AttributeDescriptionRequired (Task)Required (Condition)
atleastThe version that this at least. + The format is major.minor.point.NoOne of these.
exactlyThe version that this ant is exactly. + The format is major.minor.point.No
propertyThe name of the property to set.YesNo (ignored)
+ + +

Examples

+ +
+<antversion property="antversion"/>
+
+

Stores the current Ant version in the property antversion.

+ +
+<antversion property="antversion" atleast="1.6"/>
+
+

Stores the Ant version in the property antversion if the current Ant version is 1.6.0 +or higher. Otherwise the property remains unset.

+ +
+<antversion property="ant-is-exact-7" exactly="1.7.0"/>
+
+

Sets the property ant-is-exact-7 if Ant 1.7.0 is running. Neither 1.6.5 nor 1.7.0 +would match.

+ +
+<condition property="Ant17isOnline">
+  <and>
+    <antversion exactly="1.7.0"/>
+    <http url="http://ant.apache.org"/>
+  </and>
+</condition>
+
+

Sets Ant17isOnline if Ant 1.7.0 is running and can get a non-error-response from +the Ant homepage.

+ + + -- cgit 1.2.3-korg