ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 624] - copy commands should remove existing file before copying content
Date Wed, 04 Jul 2001 10:34:43 GMT
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: ant-dev@jakarta.apache.org                            
! ReportedBy: ederksen@arrow.lz.att.com               
! 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: bodewig@apache.org                                           |
! |  Reported By: ederksen@arrow.lz.att.com                                    |
! |      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.

Mime
View raw message