Assign a fileset to a property in Ant

From: Stephan Melchior (stephan.melchior_at_meta-level.de)
Date: 11/17/03


Date: 17 Nov 2003 08:39:26 -0800

Hello!

Within my Antscript I would set a property by a list of files

like

 <path id="metalevel.internet.seminar.files.path">
      <fileset dir="${metalevel.internet.dir.local}/seminare/">
        <include name="**/*.shtml"/>
        <include name="**/*.html"/>
        <include name="**/*.pdf"/>
        <include name="**/*.js"/>
        <exclude name="**/*.bak"/>
        <exclude name="**/*.sav"/>
        <exclude name="**/*~"/>
      </fileset>
 </path>

and
<property name="metalevel.internet.seminar.files"
refid="metalevel.internet.seminar.files.path"/>
yields all desired files separated by a ;

I need this filelist separated by a space.

How to manage this?

Greetings
Stephan