Author: mbenson Date: Tue Jul 17 10:54:22 2007 New Revision: 556992 URL: http://svn.apache.org/viewvc?view=rev&rev=556992 Log: refine retry docs
Modified: ant/core/trunk/docs/manual/CoreTasks/retry.html ant/core/trunk/docs/manual/coretasklist.html Modified: ant/core/trunk/docs/manual/CoreTasks/retry.html URL: http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/CoreTasks/retry.html?view=diff&rev=556992&r1=556991&r2=556992 ============================================================================== --- ant/core/trunk/docs/manual/CoreTasks/retry.html (original) +++ ant/core/trunk/docs/manual/CoreTasks/retry.html Tue Jul 17 10:54:22 2007 @@ -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 @@ <pre> <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> </pre> <p>This example shows how to use <code><retry></code> to wrap a task which must interact with an unreliable network resource.</p> </body> -</html> \ No newline at end of file +</html> Modified: ant/core/trunk/docs/manual/coretasklist.html URL: http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/coretasklist.html?view=diff&rev=556992&r1=556991&r2=556992 ============================================================================== --- ant/core/trunk/docs/manual/coretasklist.html (original) +++ ant/core/trunk/docs/manual/coretasklist.html Tue Jul 17 10:54:22 2007 @@ -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/> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]