ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilbert Rebhan <...@schillbaer.de>
Subject Re: Set property to glob expansion?
Date Sat, 01 Mar 2008 19:00:40 GMT

Paul J. Lucas wrote:
> 
> Of course, that doesn't work.  After some Googl'ing, I've also tried:
> 
>     <path id="jre.id">
>       <fileset dir="my_directory" includes="jre*"/>
>     </path>
>     <property name="jre-dir" refid="jre.id"/>
> 
> But that doesn't work either.
> 
> What's the way to make it work?

try with =

<property name="jre-dir" value="${toString:jre.id}"/>

Regards, Gilbert

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


Mime
View raw message