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 2003/03/13 21:25:56 UTC

DO NOT REPLY [Bug 17973] New: - A target just like a target

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=17973>.
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=17973

A <final> target just like a <init> target

           Summary: A <final> target just like a <init> target
           Product: Ant
           Version: 1.2
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: nashk01@yahoo.com


I have a requirement where I need to delink my symbolic links before my build,
and then link them back again at the end end of the successful build. In
addition to the linking, I also need to cleanup the environment everytime to
remove temporary files etc. 

It is very difficult and tedious to use depends or antcall in all the targets,
especially went the build files are spread around various projects. 

A final target in the build script would be best to allow such cleanup after the
build.