You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2004/07/29 23:47:51 UTC

DO NOT REPLY [Bug 30397] New: - execute special target before ant exits on failure of any target

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30397>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30397

execute special target before ant exits on failure of any target

           Summary: execute special target before ant exits on failure of
                    any target
           Product: Ant
           Version: 1.5.3
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Other
        AssignedTo: dev@ant.apache.org
        ReportedBy: neda.abolfathi@ingrammicro.com


If the build fails for any reason (any of the targets might fail), I want to 
execute a special target before exiting.
In my ant I have to check out a file (using clearcase) that I need to undo 
check out at the very end. In case the ant fails for any reason, undo checkout 
doesn't get executed and the file stays in checked out mode.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org