Re: Calling ant programatically

2009-04-27 Thread Ashley Williams
à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. From: ashpub...@mac.com To: user

Re: Calling ant programatically

2009-04-27 Thread Ashley Williams
orte quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. From: ashpub...@mac.com To: user@ant.apache.org Subject: Re: Calling ant programatically Date: Mon, 27 Apr

Re: Calling ant programatically

2009-04-27 Thread Ashley Williams
The ant-java task needs to be inserted in order to capture the return code of whatever "body" it executes and report back to the user. That's why spawn is set to false. Also fork is set to true so that I can reconfigure all sorts of options such as the maximum amount of memory for the body. U

RE: Calling ant programatically

2009-04-27 Thread Martin Gainty
tre sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > From: ashpub...@mac.com > To: user@ant.apache.org > Subject: Re: Calling ant programatically > Date: Mon, 27 Apr 2009 18:42:04 +0100 > > Ok here's a little more

Re: Calling ant programatically

2009-04-27 Thread glenn opdycke-hansen
Can you insert the Ant project that calls both the Java application and the batch job? If so, then you can use the parallel task, see http://ant.apache.org/manual/CoreTasks/parallel.html On Mon, Apr 27, 2009 at 12:42 PM, Ashley Williams wrote: > Ok here's a little more context. > > It seems tha

Re: Calling ant programatically

2009-04-27 Thread Ashley Williams
Ok here's a little more context. It seems that the exec/spawn=true command works as expected when called on its own directly from java.exe but not from an intermediate ant java task, so: 1. GOOD... When I launch the cmd.exe from a programmatic ant exec task, the exec task and java.exe both