Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 86504 invoked from network); 10 Apr 2002 17:15:50 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 10 Apr 2002 17:15:50 -0000 Received: (qmail 19813 invoked by uid 97); 10 Apr 2002 17:15:46 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 19797 invoked by uid 97); 10 Apr 2002 17:15:46 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 19786 invoked from network); 10 Apr 2002 17:15:45 -0000 X-VirusChecked: Checked Message-ID: From: Daniel Barclay To: Ant Users List Subject: RE: forking new jvm in ExecuteJava? Date: Wed, 10 Apr 2002 13:15:39 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > 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: For additional commands, e-mail: