> -----Original Message-----
> From: Philip Nelson [mailto:[EMAIL PROTECTED]
> Sent: Sunday, March 16, 2003 3:13 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [nant-dev] bug in recursive source compile using 

> A basedir of the current directory should be indicated as 
> ".".  "**/*.cs" means
> all .cs files in any subdirectory of the current directory so 
> that wouldn't get
> the files in the current directory.  Instead:
> 
>       <sources basedir=".">
>                 <includes name="*.cs" />
>               <includes name="**/*.cs"/>
>       </sources>

According to the FileSet documentation at 
http://nant.sourceforge.net/help/fundamentals/fog0000000026.html, a ** "matches zero 
or more directories". So the <includes name="*.cs" /> should not be necessary to 
include the sources in the current directory, but correcting the basedir attribute to 
"." should do it.

I tested this, and it does seem to work with just:

<sources basedir=".">
        <includes name="**/*.cs"/>
</sources>


Best,

Arjen


-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to