ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ray Madigan" <...@madigans.org>
Subject antcontrib:for
Date Sun, 10 Sep 2006 15:52:58 GMT
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
View raw message