+ } catch (Exception e) { + if (i<retryCount) { + log("Attempt ["+i+"] error occured, retrying...", e, Project.MSG_INFO); + } else { + throw new BuildException("Task ["+nestedTask.getTaskName()+"] failed after ["+retryCount+"] attempts, giving up"); + } + }
I do not know very much about ant exception handling in general. So it seems to me that e is lost in some cases and I think it is not a good idea. Guntis --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]