Return-Path: Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 78600 invoked from network); 7 Dec 2000 07:38:02 -0000 Received: from bodewig.bost.de (root@195.227.98.11) by locus.apache.org with SMTP; 7 Dec 2000 07:38:02 -0000 Received: (from bodewig@localhost) by bodewig.bost.de (8.9.3/8.9.3) id IAA02214; Thu, 7 Dec 2000 08:38:01 +0100 X-Authentication-Warning: bodewig.bost.de: bodewig set sender to bodewig@apache.org using -f To: ant-user@jakarta.apache.org Subject: Re: Problem with Java task References: <009d01c05fac$bf8741e0$7378d30a@fr.corp.vizzavi.net> From: Stefan Bodewig Date: 07 Dec 2000 08:38:01 +0100 In-Reply-To: "jeremie hebre"'s message of "Wed, 6 Dec 2000 17:48:26 -0000" Message-ID: Lines: 32 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N jeremie hebre wrote: > Hi, > > I have a target like this: > > > > > > > > > > > > > > > This task launch another Main instance wich runs tasks of another > build.xml. > > It displays : 'java before' It runs very well the 'usage' target of > the other build.xml But, it never displays 'java after', and does'nt > run target that must be execute after. > > Any ideas? Yep, org.apache.tools.ant.Main calls System.exit when it's done. Either use fork="yes" or the built in task. Stefan