diff --git a/src/main/org/apache/tools/ant/taskdefs/UpToDate.java b/src/main/org/apache/tools/ant/taskdefs/UpToDate.java index 8bf321b8e..b74fec08a 100644 --- a/src/main/org/apache/tools/ant/taskdefs/UpToDate.java +++ b/src/main/org/apache/tools/ant/taskdefs/UpToDate.java @@ -77,6 +77,7 @@ import org.apache.tools.ant.util.SourceFileScanner; * @author Hiroaki Nakamura * hnakamur@mc.neweb.ne.jp * @author Stefan Bodewig + * @author Eli Tucker * * @since Ant 1.2 * @@ -182,6 +183,8 @@ public class UpToDate extends Task implements Condition { // if the target file is not there, then it can't be up-to-date if (_targetFile != null && !_targetFile.exists()) { + log("The targetfile \"" + _targetFile.getAbsolutePath() + + "\" does not exist.", Project.MSG_VERBOSE); return false; }