Bugs item #1761377, was opened at 2007-07-26 17:56 Message generated for change (Comment added) made by drieseng 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: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: JeffyW (jeffyw) >Assigned to: Gert Driesen (drieseng) 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. ---------------------------------------------------------------------- >Comment By: Gert Driesen (drieseng) Date: 2007-08-22 16:44 Message: Logged In: YES user_id=707851 Originator: NO The GetVolumeInformation API call that we were using to determine if a volume was case-sensitive did not provide the information we expected. I've removed its usage, and we now only consider a filesystem case-sensitive if we're running on unix. This is not really correct, but it's a lot better than the previous behaviour. ---------------------------------------------------------------------- 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