ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <>
Subject Re: How to?: add target dependencies
Date Fri, 11 Feb 2005 18:01:10 GMT

--- Mark Lundquist <> wrote:
>    	<target name="modules:build-all">
>      		<foreach
>          			list="${modules:modules}"
>          			target=""
> 	       		param="name"
>        		   />
>    	</target>

I don't know what version of ant-contrib you are
using, but later versions include the for task which
is a hybrid of foreach and macrodef, whose chief
benefit is that it avoids the incursion of an entirely
new project context, unlike foreach.  Translation:
foreach will be slow and memory-hungry compared to


Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 

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

View raw message