- Original Message -
From: "Daniel Barclay" <[EMAIL PROTECTED]>
To: "Ant Users List" <[EMAIL PROTECTED]>
Sent: Thursday, April 11, 2002 6:30 AM
Subject: RE: forking new jvm in ExecuteJava?
>
>
>
> > > Hey, might Ant want to use a
> > Hey, might Ant want to use a custom Java security policy to
> prevent called
> > classes from (successfully) calling System.exit(0)?
>
> it might, but only under 1.2+, and then other things go wierd
> indeed. We
> cant use a security manager without risking breaking backwards
> compatibi
- Original Message -
From: "Daniel Barclay" <[EMAIL PROTECTED]>
To: "Ant Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, April 10, 2002 10:15
Subject: RE: forking new jvm in ExecuteJava?
>
>
>
> > From: tek1 [mailto:[EMAIL PROTECTED]]
&g
> From: tek1 [mailto:[EMAIL PROTECTED]]
> ...
>
>
> hello.
>
> i've written a custom task that make a call to a third-party
> java .class.
> unfortunately, that .class is calling System.exit(0) and stopping the
> entire vm, which ant is running on. how do i fork a new java
> vm within m
thank you very much.
using execute rather than executeJava seemed to do the trick.
At 13:14 02/04/10 +1000, you wrote:
>On Wed, 10 Apr 2002 12:57, tek1 wrote:
> > hello.
> >
> > i've written a custom task that make a call to a third-party java .class.
> > unfortunately, that .class is calling
On Wed, 10 Apr 2002 12:57, tek1 wrote:
> hello.
>
> i've written a custom task that make a call to a third-party java .class.
> unfortunately, that .class is calling System.exit(0) and stopping the
> entire vm, which ant is running on. how do i fork a new java vm within my
> custom task for the t