committed
Jan
>-Ursprüngliche Nachricht-
>Von: Kevin Jackson [mailto:[EMAIL PROTECTED]
>Gesendet: Montag, 21. Mai 2007 08:40
>An: Ant Developers List
>Betreff: Re: Retry task available in svn head
>
>Hi Jan,
>
>> Would this be more useful?
>>
>> public void execute() throws BuildExc
>+} catch (Exception e) {
>+if (i+log("Attempt ["+i+"] error occured, retrying...",
e, Project.MSG_INFO);
>+} else {
>+throw new BuildException("Task
["+nestedTask.getTaskName()+"] failed after ["+retryCount+"] atte
If the nested task does not fail, the loop must be finished.
+public void execute() throws BuildException {
+for(int i=0; i<=retryCount; i++) {
+try {
+nestedTask.perform();
+} catch (Exception e) {
+if (i-Ursprüngliche Nachri