DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24761>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24761 specify a target to be executed if error occurs Summary: specify a target to be executed if error occurs Product: Ant Version: 1.5.3 Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I am recording a log of the ant activity. The last target will email a distribution list that the script completed successfully. However, if there is a problem then the last target may not be executed. I would like to define another target handle a failure of the ant script, so I could email a failure message. I looked at trycatch and that would be helpful but there are multiple targets in the main path and each would have to be wrapped with a trycatch. Also, I would like to have the capability to print out a stacktrace to identify the statement that resulted in the failure. Thanks for considering this. Please let me know if anything is unclear or if the capabililty already exists. Regards, Glenn Opdycke-Hansen --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]