On Fri, Sep 18, 2009 at 10:52, EetieD <[email protected]> wrote:
>
> I would like to put a variable set of params into a antcall, but
> unfortunately, I got the message 'antcall doesn't support the nested "for"
> element.' :-( I put my code below...
>
> Is there an other way to add a variable set of params into an antcall?
>
> I hope someone can help. Thanks!
>
Use macrodef's <element>, maybe? Untested, but you can try that:
<macrodef name="callDoAll">
<element name="params" optional="false"/>
<sequential>
<antcall target="doAll">
<params/>
</antcall>
</sequential>
</macrodef>
<callDoAll>
<params>
<!-- List of parameters here -->
</params>
</callDoAll>
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
[email protected]
40 avenue Raymond Poincaré
75116 Paris
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]