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 37055] New: - Copy target sometimes overwrites files, even if overwrite=false or overwrite is not set (defaults to false)
Date Wed, 12 Oct 2005 16:55:03 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=37055>.
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=37055

           Summary: Copy target sometimes overwrites files, even if
                    overwrite=false or overwrite is not set (defaults to
                    false)
           Product: Ant
           Version: 1.6.5
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: Lothsahn@yahoo.com


Ant's copy target sometimes overwrites files, even if overwrite=false, or the
default value of overwrite is used.  I have observed this behavior on Windows. 
It may occur on other operating systems.

The bug only seems to affect some files, but the files that are affected seem to
be affected on all computers.

When used in our project, the following code overwrites the tsData.txt file, but
not the other two files.  I am not sure why this is.

<copy todir="grinder/">
  <fileset dir="workforce/libs/grinder/">
    <include name="tsData.txt"/>
    <include name="example.csv"/>
    <include name="grinder_test_functions.py"/>
  </fileset>
</copy>

There is no known workaround.  I have tried overwrite not set,
overwrite="false", and overwrite="no".  None of them have worked (although I
would assume overwrite="no" isn't value).

-- 
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