Browse Source

refine retry docs

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@556992 13f79535-47bb-0310-9956-ffa450edef68
master
Matthew Jason Benson 18 years ago
parent
commit
ecec7dc464
2 changed files with 6 additions and 6 deletions
  1. +5
    -6
      docs/manual/CoreTasks/retry.html
  2. +1
    -0
      docs/manual/coretasklist.html

+ 5
- 6
docs/manual/CoreTasks/retry.html View File

@@ -24,10 +24,9 @@
<body>
<h2>Retry</h2>
<h3>Description</h3>
<p>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.</p>
<p>Retry is a container which executes a single nested task until either: there is no failure; or:
its <em>retrycount</em> has been exceeded. If this happens a BuildException is thrown.
<em>Since Ant 1.7.1</em></p>
<h3>Parameters</h3>
<table border="1" cellpadding="2" cellspacing="0">
@@ -48,9 +47,9 @@ is configurable.</p>
<pre>
&lt;retry retrycount="3"&gt;
&lt;get src="http://www.unreliable-server.com/unreliable.tar.gz"
dest="/home/retry/unreliable.tar.gz"/&gt;
dest="/home/retry/unreliable.tar.gz" /&gt;
&lt;/retry&gt;
</pre>
<p>This example shows how to use <code>&lt;retry&gt;</code> to wrap a task which must interact with an unreliable network resource.</p>
</body>
</html>
</html>

+ 1
- 0
docs/manual/coretasklist.html View File

@@ -102,6 +102,7 @@
<a href="CoreTasks/rename.html"><i>Rename</i></a><br/>
<a href="CoreTasks/replace.html">Replace</a><br/>
<a href="CoreTasks/resourcecount.html">ResourceCount</a><br/>
<a href="CoreTasks/retry.html">Retry</a><br/>
<a href="CoreTasks/rmic.html">Rmic</a><br/>
<a href="CoreTasks/sequential.html">Sequential</a><br/>
<a href="CoreTasks/signjar.html">SignJar</a><br/>


Loading…
Cancel
Save