Skip to content

Copy task does overwrite even though overwrite="false" (Trac #605) #538

@phing-issues-importer

Description

@phing-issues-importer

If the source file is touched (i.e. mtime changed) then phing copyTask will overwrite destination no matter thay overwrite="false" is set. This is very unexpected.

Migrated from https://www.phing.info/trac/ticket/605

{
    "status": "new", 
    "changetime": "2015-04-19T07:48:44", 
    "description": "If the source file is touched (i.e. mtime changed) then phing copyTask will overwrite destination no matter thay overwrite=\"false\" is set. This is very unexpected.", 
    "reporter": "Denis Chmel", 
    "cc": "", 
    "resolution": "", 
    "_ts": "1429429724464363", 
    "component": "phing-core", 
    "summary": "Copy task does overwrite even though overwrite=\"false\"", 
    "priority": "minor", 
    "keywords": "", 
    "version": "2.4.1", 
    "time": "2010-12-08T13:14:07", 
    "milestone": "Backlog", 
    "owner": "mrook", 
    "type": "defect"
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions