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=20062>. 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=20062 Create flag to control System.exit() call in org.apache.tools.ant.Main [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Additional Comments From [EMAIL PROTECTED] 2003-05-27 04:32 ------- Don't embed using Main. It is the wrong thing to do. Main does a lot more besides call System.exit. It will reassign System.out, System.err, System.in, etc. You do not want this inside another application. Main is only suitable for use from the command line. As Steve says, If you want to integrate Ant into another application, use the Project object.