ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: Converting Fileset to Propert in Ant 1.5 and below
Date Thu, 05 May 2005 16:05:10 GMT
Try the <pathconvert> task.

-Matt

--- Stuart Harper <stuartharper@gmail.com> wrote:
> Hi,
> 
> I have an Ant script which builds a fileset and then
> converts it to a 
> property like so:
> 
> <fileset id="debug.class.files"
> dir="${dir.classes}">
> <include name="**/Debug*.class"/>
> </fileset>
> 
> <property name="debug.classlist"
> refid="debug.class.files"/>
> 
> This works perfectly in Ant 1.6.3 but in 1.5 it
> doesn't. Looking at debug 
> trace I see something like:
> 
> "Adding reference: debug.class.files -> 
> org.apache.tools.ant.types.FileSet@56f631
> 
> Setting project property: debug.classlist -> 
> org.apache.tools.ant.types.FileSet@56f631"
> 
> I get the fileset reference name instead of the
> actual fileset. Is there any 
> way to make this work in older versions of Ant?
> 
> Stuart.
> 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


Mime
View raw message