ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "External Lists" <>
Subject Suggestion for exec task
Date Sat, 06 May 2000 19:03:19 GMT
We have a need to exec tasks during our build asynchronously, because they
interact with subsequent tasks to automate them.  For example:

<exec command="poke_input"  />
<exec command="thing_to_poke" />

Using "start poke_input" doesn't appear to work without it, but perhaps
"poke_input &" would work in Unix.

So I've implemented a modification to (attached) that takes an
optional async="yes|on|true" attribute.  The proc.waitFor() and thread joins
will happen asynchronously if async="yes" is set.  Otherwise, the behavior
is synchronous as before.

<exec command="poke_input" async="yes" />
<exec command="thing_to_poke" />

For your evaluation.



View raw message