Bugs item #1761377, was opened at 2007-07-26 10:56
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1761377&group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core
Group: 0.85
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: JeffyW (jeffyw)
Assigned to: Nobody/Anonymous (nobody)
Summary: <fileset> patterns - case sensitivity inconsistent

Initial Comment:
I've found that the fileset patterns seem to behave differently depending on 
the base directory on a case INsensitive OS.  For example, my setup is as 
follows:

I have the following files:
c:\AUTOEXEC.BAT
c:\test.bat
c:\test\AUTOEXEC.BAT
c:\test\test.bat

Using the below code (requires NANT.CONTRIB for printing filesets):
<project default="test"><target name="test" >
        <fileset basedir="c:\" id="test.fileset">
                <include name="*.bat" />
        </fileset>
        <echo message="Root: ${fileset::to-string('test.fileset', ' | ')}" />

        <fileset basedir="c:\test" id="test.fileset">
                <include name="*.bat" />
        </fileset>
        <echo message="Test: ${fileset::to-string('test.fileset', ' | ')}" />
</target></project>

the output is:
[echo] Root: c:\test.bat
[echo] Test: c:\test\AUTOEXEC.BAT | c:\test\test.bat

The same is also the case with UNC's such that using a basedir of 
\\Machine\Share is case sensitive while \\Machine\Share\Dir is not.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1761377&group_id=31650

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to