diff --git a/src/main/org/apache/tools/ant/Target.java b/src/main/org/apache/tools/ant/Target.java index acd9b42d5..8d0f121b0 100644 --- a/src/main/org/apache/tools/ant/Target.java +++ b/src/main/org/apache/tools/ant/Target.java @@ -112,6 +112,10 @@ public class Target { this.condition = (property == null) ? "" : property; } + public String toString() { + return name; + } + public void execute() throws BuildException { if (("".equals(this.condition)) || (project.getProperty(this.condition) != null)) { Enumeration enum = tasks.elements();