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 20062] - Create flag to control System.exit() call in org.apache.tools.ant.Main
Date Fri, 23 May 2003 21:01:14 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=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()

Mime
View raw message