----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, February 01, 2001 11:56 PM Subject: [Bug 249] Changed - Copy command is not case retentive BugRat Report#401
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=249 > > The ANT copy command does not preserve the case of file > names on Windows NT. The destination file's names are > in all lower case. > + > + > + ------- Additional Comments From [EMAIL PROTECTED] 2001-02-01 14:56 ------- > + If copying a whole directory file-case is preserved. If copying a single file > + and tofile is specified the specified name of the tofile is used. If copying a > + single file and the tofile is not specified (using todir) and you use a name > + that is different from the 'correct' name (specified 'TEST.TXT' instead > + of 'test.txt' which is shown by a dir, ant uses the name of the specified > + source as the name of the target. > The "opposite" to 368 :-) Could be done (I think) if ant does a src.getParent().list() (not correct code) if the destination is not specified and uses the filename it get's from the OS. Additional overhead to every copy (of single files). Nico
