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/06/23 10:07:12 UTC
DO NOT REPLY [Bug 45254] New: Copy task's overwrite="false" is not
honored when there is a warning about -... modified in the future-
https://issues.apache.org/bugzilla/show_bug.cgi?id=45254
Summary: Copy task's overwrite="false" is not honored when there
is a warning about -... modified in the future-
Product: Ant
Version: 1.7.0
Platform: PC
OS/Version: Windows Vista
Status: NEW
Severity: normal
Priority: P2
Component: Core tasks
AssignedTo: notifications@ant.apache.org
ReportedBy: fs5@gmx.net
Just declare overwrite="false" on Ant's copy task and provoke the warning
"Warning: <file> modified in the future." In this case your files still are
overwritten.
BTW: Shouldn't read the warning "<file> *is* modified in the future."
--
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 45254] Copy task's overwrite="false" is not
honored when there is a warning about -... modified in the future-
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45254
Stefan Bodewig <bo...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
--- Comment #1 from Stefan Bodewig <bo...@apache.org> 2008-08-08 06:13:40 PST ---
the "modified in the future" warning applies to the source file, not the target
file (Ant won't complain about them).
overwrite="true" means always overwrite, while overwrite="false" means that
files will still be overwritten if the source file is newer than the target
file.
I've setup several tests with the source modified in the future and Ant didn't
overwrite targets that are even more in the future. I may be misunderstanding
this report, but it looks as if things were working as documented and expected.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.