ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: forking ant
Date Thu, 05 Apr 2007 20:21:22 GMT
Hi

Ant exec
the 1st arg will be cmd.exe
args="/C FullpathNameOfBinaryToRun"

this will exec the FullpathNameOfBinaryToRun and then return back to 
invoking process..

Martin--
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

----- Original Message ----- 
From: "Res Pons" <pons32@hotmail.com>
To: <user@ant.apache.org>
Sent: Thursday, April 05, 2007 3:49 PM
Subject: forking ant


> I'm writing a basic window's .bat file to cd into my working folder and 
> run ant clean build.  And when ant build is finished to return back to the 
> original bat file and copy the war/ear files to my local jboss deploy 
> directory.  I've tried 2 things
>
> cd workingFolder
> ant clean build
>
> and
>
> start /d "workingFolder" ant clean build
>
> Neither of them returns back to the original bat file to execute the rest 
> of the remaining command.  Is there anyway to do this?
>
> _________________________________________________________________
> MSN is giving away a trip to Vegas to see Elton John. Enter to win today. 
> http://msnconcertcontest.com?icid-nceltontagline
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
> 


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


Mime
View raw message