> From: Dominique Devienne [mailto:[EMAIL PROTECTED]
>
> For maybe a little use case, we have different types of
> tests, UNIT tests, GUI tests, DB tests, etc... each in its own target.
>
> The test target calls them all, by explicitly listing all the
> test types. I'd happily write depends="test-*" insteall of
> depends="test-UNIT, test-GUI, test-DB, ...".
>
Hummm, this looks like a foreach to me. Or more exactly
using the new <for/> task of antcontrib (which I think it should be
candidate to the 3rd party task of the year award).
"Find all the target names into a property and then use for to execute
the antcalls:
<for param="target" list="${test.targets}>
<sequential>
<antcall target="@{target}"/>
</sequential>
</for>
I use a script to look at target names and get those of my interest.
In other words, it seems all you may want to do can be done with
the available tasks.
> Anyways, maybe the patch writer would have a better use case ;-)
Yeap.
Jose Alberto
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]