peterreilly 2003/06/18 00:44:55
Modified: src/main/org/apache/tools/ant/taskdefs UpToDate.java
Log:
get UpToDate task to log at verbose level when the target file does not exist
PR: 20848
Obtained from: Eli Tucker
Revision Changes Path
1.29 +3 -0 ant/src/main/org/apache/tools/ant/taskdefs/UpToDate.java
Index: UpToDate.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/UpToDate.java,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- UpToDate.java 7 Mar 2003 11:23:02 -0000 1.28
+++ UpToDate.java 18 Jun 2003 07:44:55 -0000 1.29
@@ -77,6 +77,7 @@
* @author Hiroaki Nakamura
* <a href="mailto:hnakamur@mc.neweb.ne.jp">hnakamur@mc.neweb.ne.jp</a>
* @author Stefan Bodewig
+ * @author <a href="http://nerdmonkey.com">Eli Tucker</a>
*
* @since Ant 1.2
*
@@ -182,6 +183,8 @@
// 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;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
|