From 98a09b5d0e553769059292fd941dfff771b8ae93 Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Thu, 11 Oct 2007 08:31:12 +0000 Subject: [PATCH] linefeeds git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@583730 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/CoreTasks/antversion.html | 190 ++++++++++++------------- docs/manual/CoreTasks/retry.html | 110 +++++++------- docs/manual/OptionalTasks/sshexec.html | 2 +- docs/manual/api/index.html | 2 +- 4 files changed, 152 insertions(+), 152 deletions(-) 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 @@ - - - - - - -Antversion Task - - - - -

Antversion

-

Description

-

-Stores the 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.

- - - + + + + + + +Antversion Task + + + + +

Antversion

+

Description

+

+Stores the 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.

+ + + 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 Task - - -

Retry

-

Description

-

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

- -

Parameters

- - - - - - - - - - - -
AttributeDescriptionRequired
retrycountnumber of times to attempt to execute the nested taskYes
-

Any valid Ant task may be embedded within the retry task.

- -

Example

-
-<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 Task + + +

Retry

+

Description

+

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

+ +

Parameters

+ + + + + + + + + + + +
AttributeDescriptionRequired
retrycountnumber of times to attempt to execute the nested taskYes
+

Any valid Ant task may be embedded within the retry task.

+ +

Example

+
+<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.

+ + diff --git a/docs/manual/OptionalTasks/sshexec.html b/docs/manual/OptionalTasks/sshexec.html index c4876454c..6b3db94a3 100644 --- a/docs/manual/OptionalTasks/sshexec.html +++ b/docs/manual/OptionalTasks/sshexec.html @@ -188,4 +188,4 @@ Invoke ant with the following command line:

- \ No newline at end of file + diff --git a/docs/manual/api/index.html b/docs/manual/api/index.html index 9e1340187..af3099e5d 100644 --- a/docs/manual/api/index.html +++ b/docs/manual/api/index.html @@ -28,4 +28,4 @@ on purpose. We do not provide an online version of the API docs, they are included with all our distributions.

- \ No newline at end of file +