Re: forking new jvm in ExecuteJava?

2002-04-11 Thread Steve Loughran
- 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

RE: forking new jvm in ExecuteJava?

2002-04-11 Thread Daniel Barclay
> > 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

Re: forking new jvm in ExecuteJava?

2002-04-10 Thread Steve Loughran
- 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

RE: forking new jvm in ExecuteJava?

2002-04-10 Thread Daniel Barclay
> 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

Re: forking new jvm in ExecuteJava?

2002-04-10 Thread tek1
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

Re: forking new jvm in ExecuteJava?

2002-04-09 Thread Adam Murdoch
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

forking new jvm in ExecuteJava?

2002-04-09 Thread tek1
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 third-party java .class to execute in? thank yo