Releases: VasekPurchart/Phing-Copy-Files-Task
2.0
Maintenance
BC breaks: Since new language features from PHP 7.1 are used some method signatures have changed. This means that if you were extending/implementing them, you need to update the method signatures to match the new form.
- Remove support for PHP 7.0 since it is no longer supported and adopt PHP 7.1 (#3)
- Remove support for PHP 7.1 since it is no longer supported (#4)
- Support for PHP 7.3 (#5)
1.0
Copy files with better control over copying than the default Phing CopyTask
.
The main disadvantage of the default task is that it ignores the overwrite="false"
setting (which is also default) and if the source file is newer, it always rewrites the target file (see phingofficial/phing#538). This is unexpected and potentially very dangerous behaviour especially when copying configuration files etc.
CopyFilesTask
has much narrower use-cases, but offers you more control about the copied files. It works only with files (not directories or filesets) and you can specify how exactly each of the files should be copied and what to do when the target already exists.