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 22150] New: - sync copies extra files across a windows to samba drive
Date Tue, 05 Aug 2003 20:35:47 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22150>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22150

sync copies extra files across a windows to samba drive

           Summary: sync copies extra files across a windows to samba drive
           Product: Ant
           Version: 1.6Alpha (nightly)
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: daniel.armbrust@mayo.edu


sync suffers from bug #16270 (where the jvm gives the wrong time stamps on a
samba mounted drive), and it causes it to re-copy a large amount of files that
don't need to be copied, if you are syncing from a windows drive to a samba
mounted linux drive.  The fix that will work for most copy tasks (using the
<different> selector) will not work with sync, because of the way sync is
written.  If there are no different files, the different selector will not
choose any files to pass to sync.  Sync will then think that their are no files
to syncronize, and will remove all of the dangling files in the location you are
syncronizing to, (causing it to erase all of the files in the target)

I would like to get a fix for this pushed into the main source.  I have
implemented one fix that adds a date slop feature to the copy selector.  Will
post shortly.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message