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 --- .../ant/apache-ant-1.9.6/manual/Tasks/retry.html | 61 ++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 framework/src/ant/apache-ant-1.9.6/manual/Tasks/retry.html (limited to 'framework/src/ant/apache-ant-1.9.6/manual/Tasks/retry.html') diff --git a/framework/src/ant/apache-ant-1.9.6/manual/Tasks/retry.html b/framework/src/ant/apache-ant-1.9.6/manual/Tasks/retry.html new file mode 100644 index 00000000..af68d40a --- /dev/null +++ b/framework/src/ant/apache-ant-1.9.6/manual/Tasks/retry.html @@ -0,0 +1,61 @@ + + + + + + +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 Apache Ant 1.7.1

+ +

Parameters

+ + + + + + + + + + + + + + + + +
AttributeDescriptionRequired
retrycountnumber of times to attempt to execute the nested taskYes
retrydelaynumber of milliseconds to wait between retry attempts + task. Since Apache Ant 1.8.3No, defaults to no delay
+

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.

+ + -- cgit 1.2.3-korg