ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Genter" <rgen...@silverlink.com>
Subject RE: antcontrib:for
Date Sun, 10 Sep 2006 15:45:43 GMT
Try ${${proj}}.


-----Original Message-----
From: Ray Madigan [mailto:ray@madigans.org]
Sent: Sun 9/10/2006 11:52 AM
To: Ant Users List
Subject: antcontrib:for
 
I have a target that I pass in a variable that I would like to fetch the
value of the property to us as the list parameter in a for tag.

<antcall target='foo'>
    <param name='proj' value='foobar'>
</antcall>

<target name='foo'>
  <!-- this gives me the name 'foobar' when I want the value of the property
'foobar' -->
  <for param='bar' list='${proj}'>
    <sequential>
    ...
    </sequential>
  </for>
</target>

Is this possible? any suggestions would be appreciated.

Thanks


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message