You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2016/07/11 16:41:46 UTC
ant-antlibs-antunit git commit: debug logging
Repository: ant-antlibs-antunit
Updated Branches:
refs/heads/master 6da3499ff -> b8dd17fb4
debug logging
Project: http://git-wip-us.apache.org/repos/asf/ant-antlibs-antunit/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant-antlibs-antunit/commit/b8dd17fb
Tree: http://git-wip-us.apache.org/repos/asf/ant-antlibs-antunit/tree/b8dd17fb
Diff: http://git-wip-us.apache.org/repos/asf/ant-antlibs-antunit/diff/b8dd17fb
Branch: refs/heads/master
Commit: b8dd17fb4cb0cece54451cf1ac8c15519e708880
Parents: 6da3499
Author: Stefan Bodewig <bo...@apache.org>
Authored: Mon Jul 11 18:41:17 2016 +0200
Committer: Stefan Bodewig <bo...@apache.org>
Committed: Mon Jul 11 18:41:17 2016 +0200
----------------------------------------------------------------------
src/main/org/apache/ant/antunit/ResourceExists.java | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ant-antlibs-antunit/blob/b8dd17fb/src/main/org/apache/ant/antunit/ResourceExists.java
----------------------------------------------------------------------
diff --git a/src/main/org/apache/ant/antunit/ResourceExists.java b/src/main/org/apache/ant/antunit/ResourceExists.java
index 20c12c3..4b4497b 100644
--- a/src/main/org/apache/ant/antunit/ResourceExists.java
+++ b/src/main/org/apache/ant/antunit/ResourceExists.java
@@ -21,6 +21,7 @@
package org.apache.ant.antunit;
import org.apache.tools.ant.BuildException;
+import org.apache.tools.ant.Project;
import org.apache.tools.ant.ProjectComponent;
import org.apache.tools.ant.taskdefs.condition.Condition;
import org.apache.tools.ant.types.Resource;
@@ -73,6 +74,7 @@ public class ResourceExists extends ProjectComponent implements Condition {
throw new BuildException("You must specify a resource.");
}
Resource r = resource != null ? resource : expandRefId();
+ log("Checking: " + r, Project.MSG_VERBOSE);
return r.isExists();
}