diff --git a/proposal/embed/src/java/org/apache/tools/ant/RuntimeConfigurable2.java b/proposal/embed/src/java/org/apache/tools/ant/RuntimeConfigurable2.java index 8b4d6174b..8235640db 100644 --- a/proposal/embed/src/java/org/apache/tools/ant/RuntimeConfigurable2.java +++ b/proposal/embed/src/java/org/apache/tools/ant/RuntimeConfigurable2.java @@ -286,7 +286,8 @@ public class RuntimeConfigurable2 extends RuntimeConfigurable { if (attributes != null) { ph.configure(wrappedObject, attributes, p); id = attributes.getValue("id"); - attributes = null; + // No way - this will be used on future calls ( if the task is used + // multiple times: attributes = null; } if (characters.length() != 0) { ProjectHelper.addText(p, wrappedObject, characters.toString());