ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Fuller" <james.fuller.2...@gmail.com>
Subject Re: well-defined ant/xslt problem: (how) can I do this?
Date Thu, 07 Feb 2008 19:11:51 GMT
u might have luck having the foreach call a macrodef (just make the
target into a macrodef)

hth, Jim Fuller

On Feb 7, 2008 7:55 PM, Bill Milbratz <milbratz@gmail.com> wrote:
> A follow-up:
>
> I tried the using the ant-contrib for each, and manually specifying the
> versions in a list, but came across a limitation:
>
> pe\build-developer.xml:1217: foreach doesn't support the nested "antcall"
> element.
>
> (I've implemented the internals for the for-each using antcall);
>
> can anyone comment on limitation of the ant-contrib looping mechanism?
>
>   <foreach list="v10,v11,v12" param="myVersion">
>     <antcall target="gen-changes">
>        <param name="version" value="@{myVersion}"/>
>     </antcall>
>   <foreach>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message