ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: How to echo the content of a FileSet
Date Thu, 15 Apr 2004 10:13:31 GMT
Or use <pathconvert>.

Jan

> -----Original Message-----
> From: Peter Reilly [mailto:peter.reilly@corvil.com]
> Sent: Thursday, April 15, 2004 11:12 AM
> To: Ant Users List
> Subject: Re: How to echo the content of a FileSet
> 
> 
> You need to upgrade to ant 1.6.x.
> 
> The toString method was added to FileSet for ant 1.6.
> Peter
> 
> Thomas SMETS wrote:
> 
> >My Build.xml contains the followings :
> >
> >Located outside any target :
> >
> >    <fileset dir="${Business.dir}/config" id="property.files">
> >    	<include name="*.properties"/>
> >    	<exclude name="Datasource.properties"/>
> >    </fileset>
> >
> >Then in an "echo-target" used for debugging I do :
> ><target name="echo" >
> >	<property name="build.path" refid="build.path" />
> >	<property name="property.files" refid="property.files" />
> >
> >	<echo>
> >	Property files = ${property.files}
> >	</echo>
> ></target>
> >
> >
> >The problem is that I get the following output :
> > Property files = org.apache.tools.ant.types.FileSet@2cc95d
> >
> >How do I display the files selected ... ?
> >
> >Tx,
> >
> >\T,
> >
> >
> >
> >  
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message