ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: "destroy"-ing an Ant exec doesn't destroy what Ant is "exec"-ing...
Date Mon, 07 Apr 2003 15:30:55 GMT
On Mon, 07 Apr 2003, Rich Wagner <> wrote:

> Do you know whether these IDE front ends have to work-around this
> "<java>"/System.exit problem,

Yes, yes they have (NetBeans for sure, as Jesse Tilly keeps bugging us
about it 8-)

> and if so, how ?

by registering a SecurityManager that disallows System.exit.

This is a little bit ugly if you want to make it work in Java 1.2+ but
keep 1.1 compatibility at the same time.

As Ant 1.6 is going to drop Java 1.1 support (as Ant's runtime, not as
compilation target), we can expect to see a (at least partial)
solution within Ant itself then.


View raw message