ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Douglas WF Acheson <>
Subject Using Property Task as Element
Date Sun, 19 May 2002 14:25:40 GMT

  I am trying to write a an enhanced version of the foreach/for task. 
I saw the one posted and I would like to enhance it.  I would like to
do something like the following:

<for variable = "i" each "a,b,c,d">
  <task {attribute-list}>
    <property name = "someName" value = "${i}.someValue/>

  I have it working except for the inner element property I do not know
how to propagate the value of i down to the sub-task.  I just cannot
seem to wrap my head around it :-(

  Any suggestions on how I can do this?

Thanks for your help in advance.

Douglas WF Acheson

Douglas WF Acheson

Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience

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

View raw message