DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=41948>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=41948 ------- Additional Comments From [EMAIL PROTECTED] 2007-03-27 10:47 ------- (In reply to comment #5) > (In reply to comment #4) > > There is a cleaner way to update a file's name when all that has changed is > > case. For example, if you have a file on disk here: > > > > C:\test\MyFile.txt > > > > then you could do this to change the case to all lower: > > > > File file = new File("C:\\test\myfile.txt"); > > file.renameTo(file); > > > I'm pretty sure this doesn't work on e.g. Windows. Hmm... just tested, and it does seem to work. However, <move> tries to rename first, so if it has moved on to copy + delete, the rename must have failed for some reason. I'll investigate some more if I have time but by all means others can feel free as my time is limited and I tend to lose track of things. > > > This of course is basically has no effect on machines with a case sensitive > > file > > system. > > You mean "case-INsensitive filesystem," don't you? > > -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
