ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <j...@socialchange.net.au>
Subject Printing filesets
Date Fri, 13 Apr 2001 07:55:51 GMT
Hi,

Sharing a tip, and making a feature request:

Currently, it seems that filesets are not printable, but path-like
structures are printable. However, path-like structures can be formed
from filesets. Here's an example of how to print a fileset:

<project name="TestProj" default="print" basedir=".">
  <path id="mypath">
    <fileset id="a" dir="./xdocs" includes="*.xml"/>
  </path>
  <target name="print">
  	<property  name="a.value" refid="mypath"/>
    <echo message="foo ${a.value}"/>
  </target>
</project>


And the feature request: could the hack be made unnecessary by making
filesets referenceable through a refid directly?

thanks,

--Jeff


Mime
View raw message