debug logging
This commit is contained in:
parent
6da3499ff2
commit
b8dd17fb4c
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue