ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "T Master" <>
Subject Re: how do I to tell ANT not to wait for a task to finish?
Date Wed, 22 Aug 2001 16:52:35 GMT
if u are allowed to fork="true" a task, do so.  its task implementation
dependent though.

----- Original Message -----
From: "CAMPANA,SAL (HP-Philadelphia,ex1)" <>
To: "ANT List (E-mail)" <>
Sent: Wednesday, August 22, 2001 10:12 AM
Subject: how do I to tell ANT not to wait for a task to finish?

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

View raw message