diff --git a/docs/manual/CoreTasks/antversion.html b/docs/manual/CoreTasks/antversion.html index 413d630c2..bc46cd1c4 100644 --- a/docs/manual/CoreTasks/antversion.html +++ b/docs/manual/CoreTasks/antversion.html @@ -1,95 +1,95 @@ - - - -
- - --Stores the Ant version (when used as task) or checks for a specific Ant version -(when used as condition). -Since Ant 1.7.0 -
- -Attribute | -Description | -Required (Task) | -Required (Condition) | -
atleast | -The version that this at least. - The format is major.minor.point. | -No | -One of these. | -
exactly | -The version that this ant is exactly. - The format is major.minor.point. | -No | -|
property | -The name of the property to set. | -Yes | -No (ignored) | -
--<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.
- - - + + + + + + ++Stores the Ant version (when used as task) or checks for a specific Ant version +(when used as condition). +Since Ant 1.7.0 +
+ +Attribute | +Description | +Required (Task) | +Required (Condition) | +
atleast | +The version that this at least. + The format is major.minor.point. | +No | +One of these. | +
exactly | +The version that this ant is exactly. + The format is major.minor.point. | +No | +|
property | +The name of the property to set. | +Yes | +No (ignored) | +
++<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.
+ + + diff --git a/docs/manual/CoreTasks/retry.html b/docs/manual/CoreTasks/retry.html index c71c59c58..994829f71 100644 --- a/docs/manual/CoreTasks/retry.html +++ b/docs/manual/CoreTasks/retry.html @@ -1,55 +1,55 @@ - - - - - - -Retry is a container which executes a single nested task until either: there is no failure; or: -its retrycount has been exceeded. If this happens a BuildException is thrown. -Since Ant 1.7.1
- -Attribute | -Description | -Required | -
retrycount | -number of times to attempt to execute the nested task | -Yes | -
Any valid Ant task may be embedded within the retry task.
- --<retry retrycount="3"> - <get src="http://www.unreliable-server.com/unreliable.tar.gz" - dest="/home/retry/unreliable.tar.gz" /> -</retry> --
This example shows how to use <retry>
to wrap a task which must interact with an unreliable network resource.
Retry is a container which executes a single nested task until either: there is no failure; or: +its retrycount has been exceeded. If this happens a BuildException is thrown. +Since Ant 1.7.1
+ +Attribute | +Description | +Required | +
retrycount | +number of times to attempt to execute the nested task | +Yes | +
Any valid Ant task may be embedded within the retry task.
+ ++<retry retrycount="3"> + <get src="http://www.unreliable-server.com/unreliable.tar.gz" + dest="/home/retry/unreliable.tar.gz" /> +</retry> ++
This example shows how to use <retry>
to wrap a task which must interact with an unreliable network resource.