ant-dev mailing list archives

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

  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/>
  </task>
</for>

  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
http://launch.yahoo.com

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message