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: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to