http://nagoya.apache.org/bugzilla/show_bug.cgi?id=624
*** shadow/624 Sun May 20 17:21:21 2001 --- shadow/624.tmp.19021 Wed Jul 4 03:34:43 2001 *************** *** 1,19 **** ! Bug#: 624 ! Product: Ant ! Version: 1.2 ! Platform: Sun ! OS/Version: All ! Status: NEW ! Resolution: ! Severity: Normal ! Priority: ! Component: Core tasks ! AssignedTo: [EMAIL PROTECTED] ! ReportedBy: [EMAIL PROTECTED] ! URL: ! Cc: ! Summary: copy commands should remove existing file before copying content ! The copy task uses org.apache.ant.tools.ant.Project.copyFile() which contains a minor bug. It uses a BufferWriter or FileOutputStream and starts copying the file contents, without removing the original file. --- 1,19 ---- ! +============================================================================+ ! | copy commands should remove existing file before copying content | ! +----------------------------------------------------------------------------+ ! | Bug #: 624 Product: Ant | ! | Status: NEW Version: 1.2 | ! | Resolution: Platform: Sun | ! | Severity: Normal OS/Version: All | ! | Priority: High Component: Core tasks | ! +----------------------------------------------------------------------------+ ! | Assigned To: [EMAIL PROTECTED] | ! | Reported By: [EMAIL PROTECTED] | ! | CC list: Cc: | ! +----------------------------------------------------------------------------+ ! | URL: | ! +============================================================================+ ! | DESCRIPTION | The copy task uses org.apache.ant.tools.ant.Project.copyFile() which contains a minor bug. It uses a BufferWriter or FileOutputStream and starts copying the file contents, without removing the original file. *************** *** 48,51 **** to test for that. I was using Ant 1.2 on Solaris, but the problem concerns any platform that ! has (soft) links. --- 48,51 ---- to test for that. I was using Ant 1.2 on Solaris, but the problem concerns any platform that ! has (soft) links.
