File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
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:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: How to make command to return to my ant build file
Trouble launching ant exec task
Running dos commands from ant
Rather simple ant question
Starting and Stopping Tomcat Server Using Ant Script
How to use ct command with ANT in Unix Environment
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013