ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 4205] New: - Exit current build when a CVS error occurs
Date Tue, 16 Oct 2001 17:24:09 GMT
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=4205>.
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=4205

Exit current build when a CVS error occurs

           Summary: Exit current build when a CVS error occurs
           Product: Ant
           Version: 1.4
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Core tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: gb@opengroup.org


I am currently using ant to checkout a load of projects from CVS and then javac'ing the code
that I check out.However I have noticed a few times that the checkout of a single project
may fail and then my compile fails, leaving me with about 100 errors.  The problem is that
the actual error occurs way up near the top of the target and I have to spend quite a while
looking for the root cause.So the enhancement, it would be good to have a similar function
to the javac task for cvs (and perhaps others) to exit the build when an error occurs.  This
would save a large amount of trouble in the build process.It may be that this can be made
more generic, so that there is an attribute on the <target> tag that indicates whether
the execution of the target should be stopped if an error occurs, maybe when a task throws
an exception...Cheers,Gary

Mime
View raw message