ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs Copy.java
Date Fri, 27 Apr 2001 11:58:51 GMT
bodewig     01/04/27 04:58:51

  Modified:    src/main/org/apache/tools/ant/taskdefs Copy.java
  Log:
  add logging message to <copy>
  
  Submitted by:	Dennis Gregorovic <dennis@arsdigita.com>
  
  Revision  Changes    Path
  1.15      +3 -0      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Copy.java
  
  Index: Copy.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Copy.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- Copy.java	2001/01/22 21:15:09	1.14
  +++ Copy.java	2001/04/27 11:58:50	1.15
  @@ -199,6 +199,9 @@
                   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.");
  
  
  

Mime
View raw message