Hi,

I've changed the LoopTask so that it uses Filesets for "item=File" loops, instead of 
the current "in=[directory]" mechanism. This means that you can write foreach tasks 
such as: 

<foreach item="File" property="tmp.filename">
        <fileset basedir="${compile.source}">
                <includes name="**/*.cs"/>
        </fileset>
        <echo message="${tmp.filename}"/>
</foreach>

The "in=[directory]" mechanism still works too.

The patch is attached, for the LoopTask.cs and LoopTest.cs files.

Best,

Arjen

Attachment: LoopTask-Fileset.patch
Description: LoopTask-Fileset.patch

Reply via email to