I am having difficulties in getting some tasks to read the contents of a
fileset.

For example the following expression works as expected:

        <foreach item="File" property="temp.filename">
                <in>
                        <items>
                                <includes
name="${data.sourcedir}\sound\**\*.*" />
                        </items>
                </in>
                <do>
                        <echo>${temp.filename}</echo>
                </do>
        </foreach>

Hoewever if I add:

        <fileset id="sounde1" failonempty="true">
                <includes name="${data.sourcedir}\sound\**\*.*" />
        </fileset>

And replace 

        <includes name="${data.sourcedir}\sound\**\*.*" />

With 
        <fileset refid="sounde1" />

I get nothing - have I misunderstood the documentation? I am using NAnt 0.85
(Build 0.85.1580.0; net-1.1.win32; nightly; 29/04/2004)

_____________________________________
iain cartwright
Technical Director (Programming)
[EMAIL PROTECTED]
Phone: +61 3 9867 0753
Atari Melbourne House
Phone: +61 3 9867 0700
Fax: +61 3 9867 0800


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to