ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anthony Rodriguez <>
Subject RE: how do I to tell ANT not to wait for a task to finish?
Date Wed, 22 Aug 2001 17:02:06 GMT
Do you have a link to the documentation on the <parallel> task?  I looked at
the ant docs and could not find it.


-----Original Message-----
From: Matthew Inger []
Sent: Wednesday, August 22, 2001 9:43 AM
Subject: Re: how do I to tell ANT not to wait for a task to finish?

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
>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 (
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 

View raw message