ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Barclay <dbarc...@mercator.com>
Subject RE: forking new jvm in ExecuteJava?
Date Wed, 10 Apr 2002 17:15:39 GMT



> From: tek1 [mailto:tek1@pobox.com]
> ...
> 
> 
> 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?

Hey, might Ant want to use a custom Java security policy to prevent called
classes from (successfully) calling System.exit(0)?

Daniel

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


Mime
View raw message