ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jose Alberto Fernandez" <>
Subject RE: [PATCH] Support for default ProjectHelper to expand propertie s in attributes to project/target tags
Date Wed, 07 Jan 2004 17:02:08 GMT
> From: Dominique Devienne [] 
> 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}>
         <antcall target="@{target}"/>

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 ;-)


Jose Alberto

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message