Browse Source

add logging message to <copy>

Submitted by:	Dennis Gregorovic <dennis@arsdigita.com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268980 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 24 years ago
parent
commit
9cb6be8a82
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      src/main/org/apache/tools/ant/taskdefs/Copy.java

+ 3
- 0
src/main/org/apache/tools/ant/taskdefs/Copy.java View File

@@ -199,6 +199,9 @@ public class Copy extends Task {
if (forceOverwrite ||
(file.lastModified() > destFile.lastModified())) {
fileCopyMap.put(file.getAbsolutePath(), destFile.getAbsolutePath());
} else {
log(file + " omitted as " + destFile + " is up to date.",
Project.MSG_VERBOSE);
}
} else {
log("Could not find file " + file.getAbsolutePath() + " to copy.");


Loading…
Cancel
Save