Especially in the last time, Ant is used from java programs. Calling System.exit() it not very friendly then ;-)
Jan >-----Ursprüngliche Nachricht----- >Von: Alexey Solofnenko [mailto:[EMAIL PROTECTED] >Gesendet: Donnerstag, 22. Juni 2006 03:34 >An: Ant Developers List >Betreff: Re: svn commit: r416182 - >/ant/core/trunk/src/main/org/apache/tools/ant/Main.java > >I need this feature. Please keep it. > >- Alexey. > >On 6/21/06, Kev Jackson <[EMAIL PROTECTED]> wrote: >> >> >> On 22 Jun 2006, at 07:07, [EMAIL PROTECTED] wrote: >> >> > Author: stevel >> > Date: Wed Jun 21 17:07:27 2006 >> > New Revision: 416182 >> > >> > URL: http://svn.apache.org/viewvc?rev=416182&view=rev >> > Log: >> > Little something to make it easier for things that >subclass main to >> > change its exit behaviour. Its been on my HDD for a while. >If people >> > object to it, I'll roll it back, as its not anything I'm actively >> > using... >> >> I can see this being useful in the case of relying on a >third party to >> produce the exit code and then passing it through. Also it >gives you >> the opportunity to perform cleanup in the exit method before just >> bombing out to System.exit >> >> I have no problems as I can imagine a general usecase for >this - still >> like to hear what others think Kev >> >> -- >> "Government is begotten of aggression, by aggression" - Herbert >> Spencer >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] For >additional >> commands, e-mail: [EMAIL PROTECTED] >> >> > > >-- >Alexey N. Solofnenko trelony at gmail.com >home: http://trelony.cjb.net/ >Pleasant Hill, CA (GMT-8 hours usually) > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
