You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2008/03/17 00:14:40 UTC
DO NOT REPLY [Bug 44613] New: "copy" task incorrectly says files are
up to date, and does not do the copy
https://issues.apache.org/bugzilla/show_bug.cgi?id=44613
Summary: "copy" task incorrectly says files are up to date, and
does not do the copy
Product: Ant
Version: 1.7.0
Platform: Macintosh
OS/Version: Mac OS X 10.4
Status: NEW
Severity: normal
Priority: P2
Component: Core tasks
AssignedTo: notifications@ant.apache.org
ReportedBy: raould@gmail.com
maybe i am not understanding something about the copy task! but...
i think i've told it to copy e.g. file D1/A to D2/B and they are different
files and yet it says nothing needs to be done. this happens in 1.6.4, and so i
downloaded 1.7.0 and used that and it does the same thing.
[paths and file names changed since this is in the context of a build for a
proprietary system.]
deploy:
[copy] /Users/foo/Documents/workspace/bar/build/baz/foo.xml omitted as
/Applications/Srv/baz/foo.xml is up to date.
BUILD SUCCESSFUL
Total time: 0 seconds
gomachine:~/Documents/workspace/bar go$ ls -l
/Users/foo/Documents/workspace/bar/build/baz/foo.xml
-rw-r--r-- 1 go go 12756 Mar 16 14:00
/Users/foo/Documents/workspace/bar/build/baz/foo.xml
gomachine:~/Documents/workspace/bar go$ ls -l /Applications/Srv/baz/foo.xml
-rw-r--r-- 1 go go 12925 Mar 16 16:09 /Applications/Srv/baz/foo.xml
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 44613] "copy" task incorrectly says files are up
to date, and does not do the copy
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44613
Peter Reilly <pe...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Peter Reilly <pe...@apache.org> 2008-03-22 07:42:30 PST ---
copy just uses the date of the files to find out which are out-of-date, not the
contents.
You have to be carefull that the to and from directories are form the same
time period. For example. it is possible to untar files into the future...
Marking this as INVALID,
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.