A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
Ant, Maven and Other Build Tools
How to make command to return to my ant build file
Joined: Sep 05, 2003
Jul 24, 2007 21:42:00
file with a <exec> task; command does not return to my build file after executing the <exec> task. What do I do to to get the command back to my build file?
Thanks in advance.
Joined: Nov 24, 2005
Jul 24, 2007 22:03:00
Set spawn="true" in the exec task :
<exec spawn="true" ...
All roads lead to JavaRanch
Joined: Nov 27, 2003
Jul 25, 2007 10:37:00
I had the same problem in my previous project, where I had to start a server, the spawn did not work.. I had a simple work around, I had a shell script that would run the process, all my ant script did was to execute this shell scripts
I agree. Here's the link:
subject: How to make command to return to my ant build file
Rather simple ant question
Starting and Stopping Tomcat Server Using Ant Script
Running dos commands from ant
How to use ct command with ANT in Unix Environment
Trouble launching ant exec task
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014