aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes How to make command to return to my ant build file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "How to make command to return to my ant build file" Watch "How to make command to return to my ant build file" New topic
Author

How to make command to return to my ant build file

Anselm Paulinus
Ranch Hand

Joined: Sep 05, 2003
Posts: 389
Have an ant 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.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

Set spawn="true" in the exec task :
<exec spawn="true" ...


[My Blog]
All roads lead to JavaRanch
Rajesh Nagaraju
Ranch Hand

Joined: Nov 27, 2003
Posts: 62
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
 
wood burning stoves
 
subject: How to make command to return to my ant build file