ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul J. Lucas" <pauljlu...@mac.com>
Subject Set property to glob expansion?
Date Sat, 01 Mar 2008 18:45:15 GMT
I want to set a property to the value of a glob expansion.  For  
example, if I have a directory that has a subdirectory:

	my_directory/
	    jre1.6.0/

I want to be able to say something like:

	<property name="jre-dir" value="jre*"/>

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?

- Paul

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


Mime
View raw message