From ecec7dc464293e9d92be0bd3d139c93126c34cb5 Mon Sep 17 00:00:00 2001 From: Matthew Jason Benson Date: Tue, 17 Jul 2007 17:54:22 +0000 Subject: [PATCH] refine retry docs git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@556992 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/CoreTasks/retry.html | 11 +++++------ docs/manual/coretasklist.html | 1 + 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/manual/CoreTasks/retry.html b/docs/manual/CoreTasks/retry.html index 84a8ae573..c71c59c58 100644 --- a/docs/manual/CoreTasks/retry.html +++ b/docs/manual/CoreTasks/retry.html @@ -24,10 +24,9 @@

Retry

Description

-

Retry is a container task - it can contain an Ant task. The nested -task is executed, if an error occurs, the task can be executed again without -the build failing. The amount of times that the nested task can be 'retried' -is configurable.

+

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

@@ -48,9 +47,9 @@ is configurable.

 <retry retrycount="3">
   <get src="http://www.unreliable-server.com/unreliable.tar.gz" 
-  		dest="/home/retry/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.

- \ No newline at end of file + diff --git a/docs/manual/coretasklist.html b/docs/manual/coretasklist.html index 73ad87931..48582ac11 100644 --- a/docs/manual/coretasklist.html +++ b/docs/manual/coretasklist.html @@ -102,6 +102,7 @@ Rename
Replace
ResourceCount
+Retry
Rmic
Sequential
SignJar