You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Res Pons <po...@hotmail.com> on 2007/04/05 21:49:35 UTC

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


Re: forking ant

Posted by Martin Gainty <mg...@hotmail.com>.
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" <po...@hotmail.com>
To: <us...@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


RE: forking ant

Posted by Res Pons <po...@hotmail.com>.
Something so simple and I couldn't even think of it :/

That worked, thank you for your help :)

----Original Message Follows----
From: "Murray, Mike" <mb...@ptc.com>
Reply-To: "Ant Users List" <us...@ant.apache.org>
To: "Ant Users List" <us...@ant.apache.org>
Subject: RE: forking ant
Date: Thu, 5 Apr 2007 16:06:51 -0400

Try:
	call ant clean build

-----Original Message-----
From: Res Pons [mailto:pons32@hotmail.com]
Sent: Thursday, April 05, 2007 2:50 PM
To: user@ant.apache.org
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

_________________________________________________________________
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


RE: forking ant

Posted by "Murray, Mike" <mb...@ptc.com>.
Try:
	call ant clean build 

-----Original Message-----
From: Res Pons [mailto:pons32@hotmail.com] 
Sent: Thursday, April 05, 2007 2:50 PM
To: user@ant.apache.org
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