Could use your help:
Trying to execute an ant task in Groovy so that it doesn't wait for the response from the script (i.e. run in background)
I've tried the following two ways with no success
//Cannot find script
ant.exec(failonerror: "true", executable: "scriptname.sh &")
// Says: You have used an attribute or nested element which is not compatible with spawn
ant.exec(failonerror: "true", spawn:"true", executable: "scriptname.sh")
Any advice on how to accomplish this? I've searched google but can't find any good examples for Groovy.
Thanks guys, I appreciate the help.