ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 41948] - move task fails to rename file and also deletes source file when source and dest files differ only by case
Date Tue, 27 Mar 2007 09:27:28 GMT
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


stevel@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|move task fails to rename   |move task fails to rename
                   |file and also deletes source|file and also deletes source
                   |file                        |file when source and dest
                   |                            |files differ only  by case




------- Additional Comments From stevel@apache.org  2007-03-27 02:27 -------
yes, this looks like a WinXP bug. The way windows works is that whenever open a
file for writing in a directory, if there is a file with the same name but
different case, winXP opens that instead. 

Here ant tries to open the file for both writing and reading, and must end up
truncating the file. 

There's no solution for this, but what could be possible would be for Move to
check for this situation and fail the build. 

-- 
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message