peterreilly    2003/12/24 02:52:03

  Modified:    src/main/org/apache/tools/ant ComponentHelper.java
  Log:
  ComponentHelper.
  Logic for copying the checked namespaces to new projects was broken.
  
  Revision  Changes    Path
  1.30      +3 -1      ant/src/main/org/apache/tools/ant/ComponentHelper.java
  
  Index: ComponentHelper.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/ComponentHelper.java,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- ComponentHelper.java      17 Oct 2003 08:09:46 -0000      1.29
  +++ ComponentHelper.java      24 Dec 2003 10:52:03 -0000      1.30
  @@ -192,7 +192,9 @@
               antTypeTable.put(def.getName(), def);
           }
           // 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.
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to