On Fri, Sep 18, 2009 at 10:52, EetieD <k...@leanapps.com> 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 f...@one2team.com 40 avenue Raymond Poincaré 75116 Paris --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org