Browse Source

ComponentHelper.

Logic for copying the checked namespaces to new projects was broken.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275842 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Reilly 21 years ago
parent
commit
80b892fb4f
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      src/main/org/apache/tools/ant/ComponentHelper.java

+ 3
- 1
src/main/org/apache/tools/ant/ComponentHelper.java View File

@@ -192,7 +192,9 @@ public class ComponentHelper {
antTypeTable.put(def.getName(), def); antTypeTable.put(def.getName(), def);
} }
// add the parsed namespaces of the parent project // add the parsed namespaces of the parent project
checkedNamespaces.add(helper.checkedNamespaces);
for (Iterator i = helper.checkedNamespaces.iterator(); i.hasNext();) {
checkedNamespaces.add(i.next());
}
} }


/** Factory method to create the components. /** Factory method to create the components.


Loading…
Cancel
Save