ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: svn commit: r416182 - /ant/core/trunk/src/main/org/apache/tools/ant/Main.java
Date Thu, 22 Jun 2006 05:48:55 GMT
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:trelony@gmail.com] 
>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 <foamdino@gmail.com> wrote:
>>
>>
>> On 22 Jun 2006, at 07:07, stevel@apache.org 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: dev-unsubscribe@ant.apache.org For 
>additional 
>> commands, e-mail: dev-help@ant.apache.org
>>
>>
>
>
>--
>Alexey N. Solofnenko trelony at gmail.com
>home: http://trelony.cjb.net/
>Pleasant Hill, CA (GMT-8 hours usually)
>

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


Mime
View raw message