ant-user mailing list archives

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

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"/>
  <target name="print">
  	<property  name="a.value" refid="mypath"/>
    <echo message="foo ${a.value}"/>

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



View raw message