ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Inger <ma...@sedonacorp.com>
Subject Re: how do I to tell ANT not to wait for a task to finish?
Date Wed, 22 Aug 2001 19:37:24 GMT
Anthony Rodriguez wrote:

>Do you have a link to the documentation on the <parallel> task?  I looked at
>the ant docs and could not find it.
>
>-Anthony
>
>-----Original Message-----
>From: Matthew Inger [mailto:matti@sedonacorp.com]
>Sent: Wednesday, August 22, 2001 9:43 AM
>To: ant-user@jakarta.apache.org
>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
>>
>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.
>
>
did you look at the 1.4 beta docs?  It's new to 1.4....


-- 
Matt Inger (matt.inger@sedonacorp.com)
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 




Mime
View raw message