Hi Scott.

Thanks for putting me on track. This snipplet now works :)

    <foreach item="File" property="filename">
      <in>
        <items>
          <includes name='**\*.csproj'/>
        </items>
      </in>
      <do>
        <echo message='csproj file: ${filename}'/>
      </do>
    </foreach>

/Nicke

-----Original Message-----
From: Scott Hernandez [mailto:[EMAIL PROTECTED] 
Sent: den 15 oktober 2003 19:22
To: [EMAIL PROTECTED]
Subject: Re: [Nant-users] foreach recursive?


http://nant.sourceforge.net/help/tasks/foreachtask.html

See the 3rd example in the task documentation

----- Original Message ----- 
From: "Lalit Parashar" <[EMAIL PROTECTED]>


> I want to "recursively" loop through all the folders in C:\ using 
> foreach. How could I do that?



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net
hosts over 70,000 Open Source Projects. See the people who have HELPED US
provide better services: Click here: http://sourceforge.net/supporters.php
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to