Return-Path: Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: (qmail 18449 invoked from network); 22 Apr 2010 10:28:07 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 22 Apr 2010 10:28:07 -0000 Received: (qmail 79040 invoked by uid 500); 22 Apr 2010 10:28:07 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 78933 invoked by uid 500); 22 Apr 2010 10:28:05 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 78926 invoked by uid 99); 22 Apr 2010 10:28:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Apr 2010 10:28:04 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Apr 2010 10:28:02 +0000 Received: from thor.apache.org (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3MARf6Z014066 for ; Thu, 22 Apr 2010 10:27:41 GMT Received: (from daemon@localhost) by thor.apache.org (8.13.8+Sun/8.13.8/Submit) id o3MAReg6014065; Thu, 22 Apr 2010 06:27:40 -0400 (EDT) Date: Thu, 22 Apr 2010 06:27:40 -0400 (EDT) Message-Id: <201004221027.o3MAReg6014065@thor.apache.org> From: bugzilla@apache.org To: notifications@ant.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 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ant X-Bugzilla-Component: Core tasks X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: bodewig@apache.org X-Bugzilla-Status: REOPENED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: notifications@ant.apache.org X-Bugzilla-Target-Milestone: 1.7.1 X-Bugzilla-Changed-Fields: Status Resolution In-Reply-To: References: X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=41948 Stefan Bodewig changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #13 from Stefan Bodewig 2010-04-22 06:27:33 EDT --- this was fixed for XP with Ant 1.7.1 but the problem seems to re-appear with Windows 7 (don't know about Vista or Server2008 so I'm not changing the OS right now). On my Win7 x64 machine the AntUnit test fails. new File("abc").getCanonicalFile().equals(new File("aBc")) returns true and so renameFile in Move simply skips the operation and says the file has already been renamed. I don't fully understand why we compare the canonical version of the source to the name of the target at all so I don't dare to remove the check or modify it to just comparing the absolute path names. Is it there to avoid renaming a symbolic link to its target? -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.