Author: peterreilly Date: Mon Nov 13 12:48:56 2006 New Revision: 474508 URL: http://svn.apache.org/viewvc?view=rev&rev=474508 Log: add a manual entry for antversion
Modified: ant/core/trunk/docs/manual/CoreTasks/conditions.html Modified: ant/core/trunk/docs/manual/CoreTasks/conditions.html URL: http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/CoreTasks/conditions.html?view=diff&rev=474508&r1=474507&r2=474508 ============================================================================== --- ant/core/trunk/docs/manual/CoreTasks/conditions.html (original) +++ ant/core/trunk/docs/manual/CoreTasks/conditions.html Mon Nov 13 12:48:56 2006 @@ -835,7 +835,7 @@ An example: </p> <blockquote><pre> -<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" @@ -880,6 +880,38 @@ casesensitive="false" singleline="false"/> </au:assertFalse> +</pre></blockquote> +<h4>antversion</h4> + +<p> + Test the ant version. + <b>Since Ant 1.7.0</b></p> + +<table border="1" cellpadding="2" cellspacing="0"> + <tr> + <td valign="top"><b>Attribute</b></td> + <td valign="top"><b>Description</b></td> + <td align="center" valign="top"><b>Required</b></td> + </tr> + <tr> + <td valign="top">atleast</td> + <td valign="top">The version that this at least. + The format is major.minor.point.</td> + <td valign="top" rowspan="2" align="center">One of these.</td> + </tr> + <tr> + <td valign="top">exactly</td> + <td valign="top">The version that this ant is exactly. + The format is major.minor.point.</td> + </tr> +</table> + <p> + An example: + </p> +<blockquote><pre> +<condition property="ant-is-exact-7"> + <antversion exactly="1.7.0"/> +</condition> </pre></blockquote> </body> </html> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]