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

Reply via email to