You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by co...@apache.org on 2003/01/22 05:49:16 UTC
cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs UpToDate.java
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>