AW: Retry task available in svn head

2007-05-21 Thread Jan.Materne
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

AW: Retry task available in svn head

2007-05-20 Thread Jan.Materne
>+} 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

AW: Retry task available in svn head

2007-05-18 Thread Jan.Materne
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