ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scot P. Floess" <flo...@mindspring.com>
Subject Re: antcontrib:for
Date Sun, 10 Sep 2006 14:53:37 GMT
Ah good point.  I didn't read the comment above the <for> - my bad and 
my apologies...

Rick Genter wrote:
> 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
>
>
>
>   

-- 
Scot P. Floess
27 Lake Royale
Louisburg, NC  27549

252-478-8087 (Home)
919-754-4592 (Work)

Chief Architect JPlate  http://sourceforge.net/projects/jplate
Chief Architect JavaPIM http://sourceforge.net/projects/javapim


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


Mime
View raw message