ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <peter.rei...@corvil.com>
Subject Re: How to echo the content of a FileSet
Date Thu, 15 Apr 2004 09:12:28 GMT
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
View raw message