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" <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to