----- Original Message -----
From: "Sam Ruby" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, February 04, 2001 2:08 PM
Subject: Re: [PATCH] Allow FileSet's to ignore the case of paths/files (Bug
#368)
> 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!
NTFS:
C:\VAMOS50\Source\Test\Framework\FileCase>chkdsk c:
Der Typ des Dateisystems ist NTFS.
Die Datentr�gerbezeichnung lautet C.
^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
C:\VAMOS50\Source\Test\Framework\FileCase>
You can create such files using CreateFile() if you pass
"FILE_FLAG_POSIX_SEMANTICS
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).
Nico