ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nico Seessle" <>
Subject Re: [PATCH] Allow FileSet's to ignore the case of paths/files (Bug #368)
Date Sun, 04 Feb 2001 14:30:37 GMT
----- Original Message -----
From: "Sam Ruby" <>
To: <>
Sent: Sunday, February 04, 2001 2:08 PM
Subject: Re: [PATCH] Allow FileSet's to ignore the case of paths/files (Bug

> Peter Donald wrote:
> > But then again I presume that there must be some win32
> > filesystems that are case sensitive which would make this
> > not-possible???
> I do not believe so.
I do!


C:\VAMOS50\Source\Test\Framework\FileCase>chkdsk c:
Der Typ des Dateisystems ist NTFS.
Die Datenträgerbezeichnung lautet C.

C:\VAMOS50\Source\Test\Framework\FileCase>dir file1.txt
 Datenträger in Laufwerk C: ist C
 Datenträgernummer: 1CDB-CFC9

 Verzeichnis von C:\VAMOS50\Source\Test\Framework\FileCase

04.02.2001  15:22                   11 FILE1.TXT
04.02.2001  15:20                   11 file1.txt
               2 Datei(en)             22 Bytes
               0 Verzeichnis(se),   6.479.646.720 Bytes frei


You can create such files using CreateFile() if you pass

 Indicates that the file is to be accessed according to POSIX rules. This
includes allowing multiple files with names, differing only in case, for
file systems that support such naming. Use care when using this option
because files created with this flag may not be accessible by applications
written for MS-DOS or 16-bit Windows."

I have not tested how ant will react on the fact that you get *two* files if
you specifiy only one...

Windows can not work really good with that, if you do a "type test1.txt" you
get twice the content of the second file :-), and if you delete one of these
files Windows deletes them both (ok, it asks for both).


View raw message