Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to make command to return to my ant build file

 
Anselm Paulinus
Ranch Hand
Posts: 390
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Set spawn="true" in the exec task :
<exec spawn="true" ...
 
Rajesh Nagaraju
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic