diff --git a/docs/manual/CoreTasks/conditions.html b/docs/manual/CoreTasks/conditions.html index f42668066..46a097bf9 100644 --- a/docs/manual/CoreTasks/conditions.html +++ b/docs/manual/CoreTasks/conditions.html @@ -835,7 +835,7 @@ must match. Since Ant 1.7 An example:

-<condition propery="legal-password">
+<condition property="legal-password">
   <matches pattern="[1-9]" string="${user-input}"/>
 </condition>
 <fail message="Your password should at least contain one number"
@@ -881,5 +881,37 @@ must match. Since Ant 1.7
            singleline="false"/>
 </au:assertFalse>
 
+

antversion

+ +

+ Test the ant version. + Since Ant 1.7.0

+ + + + + + + + + + + + + + + + +
AttributeDescriptionRequired
atleastThe version that this at least. + The format is major.minor.point.One of these.
exactlyThe version that this ant is exactly. + The format is major.minor.point.
+

+ An example: +

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