ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas SMETS" <tsm...@tsmets.lautre.net>
Subject How to echo the content of a FileSet
Date Thu, 15 Apr 2004 08:56:50 GMT

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,



-- 
Thomas SMETS
rue J. Wytsmanstraat 62
1050 Brussels



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


Mime
View raw message