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
ces/protoj/serverdemo/src/java/org/serverdemo/system/ServerDemoProject.java "helpers for calling ant programatically" http://code.google.com/p/protoj/source/browse/1.9.0/src/java/protoj/util/CommandTask.java http://code.google.com/p/protoj/source/browse/1.9.0/src/java/protoj/util/AntTarget.j

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

Calling ant programatically

2009-04-24 Thread Ashley Williams
Hi, I would like to know how to start a batch file in a new dos window without blocking the java process and so naturally I tried the following that does work: However I need to be able to do this from java and so I used t