ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephane Bailliez <sbaill...@imediation.com>
Subject RE: cvs commit: jakarta-ant/src/main/org/apache/tools/ant NoExitS ecurityManager.java Main.java ExitException.java
Date Sat, 15 Dec 2001 11:59:46 GMT
> -----Original Message-----
> From: Peter Donald [mailto:peter@apache.org]

> I just reverted this because it didn't actually work. All 
> successful builds 
> printed out a stack trace and a error message because 
> System.exit(0) was 
> raising an exception. You really should run ant before you 
> check in things 
> like this ;)

Guilty.

It's hard to figure out that it can go wrong even when modifying one line of
code.
I assumed too much.

[...]
> We can't justifiably implement this in Ant1.x unless we also 
> implemented 
> Conors launcher but that would break backwards compatability 
> anyways. Any 
> task that can potentially call exit should just be forked.

Will revert related changes.

Thanks.

Stephane

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


Mime
View raw message