debug logging

This commit is contained in:
Stefan Bodewig 2016-07-11 18:41:17 +02:00
parent 6da3499ff2
commit b8dd17fb4c
1 changed files with 2 additions and 0 deletions

View File

@ -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();
}