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 Checksum.java
Date Thu, 22 Nov 2001 09:37:34 GMT
bodewig     01/11/22 01:37:34

  Modified:    src/main/org/apache/tools/ant/taskdefs Checksum.java
  Log:
  Add a little logging to checksum.
  
  Revision  Changes    Path
  1.4       +3 -0      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Checksum.java
  
  Index: Checksum.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Checksum.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Checksum.java	2001/11/20 16:23:11	1.3
  +++ Checksum.java	2001/11/22 09:37:34	1.4
  @@ -347,6 +347,9 @@
               for (Enumeration e = includeFileMap.keys(); e.hasMoreElements();) {
                   messageDigest.reset();
                   File src = (File) e.nextElement();
  +                if (!isCondition) {
  +                    log("Calculating "+algorithm+" checksum for "+src);
  +                }
                   fis = new FileInputStream(src);
                   DigestInputStream dis = new DigestInputStream(fis,
                                                                 messageDigest);
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message