A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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
Trouble launching ant exec task
How to use ct command with ANT in Unix Environment
Running dos commands from ant
Starting and Stopping Tomcat Server Using Ant Script
Rather simple ant question
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015