ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs UpToDate.java
Date Wed, 22 Jan 2003 04:49:16 GMT
conor       2003/01/21 20:49:15

  Modified:    src/main/org/apache/tools/ant/taskdefs UpToDate.java
  Log:
  Fix uptodate check when using attributes rather than filesets
  
  PR:	16119
  Submitted by:	Larry Isaacs
  
  Revision  Changes    Path
  1.25      +1 -1      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/UpToDate.java
  
  Index: UpToDate.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/UpToDate.java,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -w -u -r1.24 -r1.25
  --- UpToDate.java	25 Jul 2002 15:21:05 -0000	1.24
  +++ UpToDate.java	22 Jan 2003 04:49:15 -0000	1.25
  @@ -203,7 +203,7 @@
           if (_sourceFile != null) {
               if (mapperElement == null) {
                   upToDate = upToDate &&
  -                    (_targetFile.lastModified() > _sourceFile.lastModified());
  +                    (_targetFile.lastModified() >= _sourceFile.lastModified());
               } else {
                   SourceFileScanner sfs = new SourceFileScanner(this);
                   upToDate = upToDate &&
  
  
  

--
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