There is a target attribute for the foreach task. So I'm thinking you
would want to do something like this:
  <foreach target="gen-changes" list="v10,v11,v12" param="myVersion"/>



-----Original Message-----
From: Bill Milbratz [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 07, 2008 12:55 PM
To: user@ant.apache.org
Subject: Re: well-defined ant/xslt problem: (how) can I do this?

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>

-----------------------------------------
Confidentiality Notice!
This electronic transmission and any attached documents or other
writings are confidential and are for the sole use of the intended
recipient(s) identified above. This message may contain information
that is privileged, confidential or otherwise protected from
disclosure under applicable law. If the receiver of this
information is not the intended recipient, or the employee, or
agent responsible for delivering the information to the intended
recipient, you are hereby notified that any use, reading,
dissemination, distribution, copying or storage of this information
is strictly prohibited. If you have received this information in
error, please notify the sender by return email and delete the
electronic transmission, including all attachments from your
system.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to