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 30501] New: - Main.startAnt calls System.exit when finished
Date Thu, 05 Aug 2004 20:09:24 GMT
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=30501>.
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=30501

Main.startAnt calls System.exit when finished

           Summary: Main.startAnt calls System.exit when finished
           Product: Ant
           Version: 1.6.2
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Core
        AssignedTo: dev@ant.apache.org
        ReportedBy: epoulin@yahoo.com


When calling ANT from an external Java process, I use the following:

Main m = new Main();
m.startAnt(args, null, null);

However, at the end of startAnt(), there is a System.exit(), whic closes my 
whole JVM (including my external Java process).  I want to be able to call ANT, 
have it finish and then continue on with my Java process.  
ANT should not need a System.exit().  It can simply return control to the 
caller (be it a java process or the system environment).

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


Mime
View raw message