ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Rob (Global Trade)" <>
Subject RE: exec task problem
Date Wed, 14 Jan 2004 23:58:05 GMT
Perhaps a wrapper script would be in order. Write a simple script that calls both (or however
many) scripts in the correct order and use the spawn feature of the exec task.

-Rob Anderson

-----Original Message-----
From: Rhodes, Phillip C. []
Sent: Wednesday, January 14, 2004 2:55 PM
Subject: exec task problem

I am using the ant exec task that is calling a unix script.
Using ant 1.5, the unix script gets to a point where it trys to start a program and my ant
script just hangs...
The script command looks like:  (please notice the ampersand)

I have also tried using ant 1.6 with the spawn="true" attribute on the exec task.
The script just returns immediately and I don't get any feedback.  I do not want the following
unix script to start until the previous unix script has returned from processing.  It appears
that I can not use spawn for this reason.

Any ideas on how to get my script to return control back to ant, without using the spawn feature?

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message