CAMPANA,SAL (HP-Philadelphia,ex1) wrote:
>Is there a way to make a task run and continue through the ant script
>without waiting for the task to end?
>
>For instance, I want to start an external application, then start another to
>interact with that application.
>
>It seems that ANT only runs sequentially and waits for a task to finish
>before moving to the next task. This makes total sense for building my
>classes, but I'd love to be able to spawn separate threads of execution
>without waiting.
>
>One way I did it was to call a batch file which started my app. The batch
>file will die after it executes the command and the ANT file moves on....
>
>Any ideas? Am I missing something?
>
>Thank you!
>
look at ant 1.4 beta..., specifically the "parallel" task. It allows
you to run several tasks at the same
time. Say for instance, a server process, and a client process that
talks to the server process.
--
Matt Inger ([EMAIL PROTECTED])
Sedona Corporation
455 S. Gulph Road, Suite 300
King of Prussia, PA 19406
(484) 679-2213
"Self-respect - the secure feeling that no one,
as yet, is suspicious." -H.L. Mencken