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/05/23 23:01:14 UTC
DO NOT REPLY [Bug 20062] -
Create flag to control System.exit() call in org.apache.tools.ant.Main
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
------- Additional Comments From stevel@apache.org 2003-05-23 21:01 -------
well, the normal way to embed ant is to create your own Project class and drive
it from there. But if you want to have better embedding of main, the way to do
it would be to have a public inner main method that returned an exit code,
leaving the existing main class to drive system.exit()