ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Java task failing with AntSecurityException
Date Tue, 11 Nov 2003 08:35:18 GMT
On Mon, 10 Nov 2003, Jeremy Nix <> wrote:

> [java] org.eclipse.ant.core.AntSecurityException 
> [java] at org.eclipse.ant.internal.core.ant.AntSecurityManager.checkExit(

Obviously you are running Ant within Eclipse ;-)

Eclipse seems to set a SecurityManager that doesn't allow your invoked
<java> class to call System.exit - and your class tries to do so
anyway.  Set fork="true" and the System.exit will neither affect Ant
nor get propagated to Eclipse at all.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message