Redirected to the NAnt-users list...

Daniel,

Remove the in="" attribute in the foreach element... this is
overriding the nested in element, so your include is not being used.

The *.sql is the (semantically) correct format, by the way. ** usually
denotes a recursive path.


Regards,

--
Troy


On 12/7/05, Daniel Halan <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Shouldn't this result in only getting files that ends with .SQL ?
>
> <foreach item="File" in="${foldername}" property="filename">
>         <in>
>                 <items>
>                         <include name="**/**.sql" />
>                 </items>
>         </in>
>         <do>
>                 <echo message="${filename}" />
>         </do>
> </foreach>
>
> tried "*.sql" also, but I get ALL the files found in the Folder.
>
> //
> Daniel Halan
>
> _________________________________________________________________
> Chat: Ha en fest på Habbo Hotel
> http://habbohotel.msn.se/habbo/sv/channelizer Checka in här!
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> nant-developers mailing list
> nant-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nant-developers
>


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to