Chris--

 

In 0790, it's here:

DirectoryScanner.cs.

This is probably also fixed in the upcoming 0800 release and/or latest nant daily snapshots...

I did a workaround by making the regex case-insensitive as follows:

<code>

parseSearchDirectoryAndPattern()...

regexPattern =

(IsCaseSensitiveFileSystem() ? "" : "(?i)") + //specify case-insensitive matching

ToRegexPattern(searchDirectory, modifiedNAntPattern);

}

bool IsCaseSensitiveFileSystem() {

return (Path.DirectorySeparatorChar != '\\'); //Windows (not case-sensitive) is backslash, others (e.g. Unix) are not

}

</code>

/ /br

 "Barkley, Chris" <[EMAIL PROTECTED]> wrote:

This may be a totally dumb question but I have recurring problems with file
name which cases miss matches not being added to FileSets. Is this correct
behavior? Is there a way to override this behavior? I looked through the
documentation and the code and didn't see where this condition is set. Can
anyone point me in the right direction?

Thanks


-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing
your web site with SSL, click here to get a FREE TRIAL of a Thawte
Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
Nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers


- - - - - - - - - - - - - - - - -
Buc Rogers
[EMAIL PROTECTED]



Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now

Reply via email to