Browse Source

Fix uptodate check when using attributes rather than filesets

PR:	16119
Submitted by:	Larry Isaacs


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273841 13f79535-47bb-0310-9956-ffa450edef68
master
Conor MacNeill 22 years ago
parent
commit
45a9b5ae58
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/UpToDate.java

+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/UpToDate.java View File

@@ -203,7 +203,7 @@ public class UpToDate extends Task implements Condition {
if (_sourceFile != null) {
if (mapperElement == null) {
upToDate = upToDate &&
(_targetFile.lastModified() > _sourceFile.lastModified());
(_targetFile.lastModified() >= _sourceFile.lastModified());
} else {
SourceFileScanner sfs = new SourceFileScanner(this);
upToDate = upToDate &&


Loading…
Cancel
Save