ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant UnknownElement.java
Date Fri, 27 Jul 2001 10:13:15 GMT
bodewig     01/07/27 03:13:14

  Modified:    src/main/org/apache/tools/ant UnknownElement.java
  Log:
  Fix for the NPE that makes the Cactus build fail.
  
  Actually test6 of taskdef.xml failed as well, I just didnd't run it
  after my last changes as it is not part of the testsuite - argh.
  
  Revision  Changes    Path
  1.8       +1 -1      jakarta-ant/src/main/org/apache/tools/ant/UnknownElement.java
  
  Index: UnknownElement.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/UnknownElement.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- UnknownElement.java	2001/07/26 15:38:48	1.7
  +++ UnknownElement.java	2001/07/27 10:13:14	1.8
  @@ -127,7 +127,7 @@
                   realChild = makeTask(child, childWrapper);
                   ((TaskContainer) parent).addTask((Task) realChild);
               } else {
  -                ih.createElement(project, parent, child.getTag());
  +                realChild = ih.createElement(project, parent, child.getTag());
               }
   
               childWrapper.setProxy(realChild);
  
  
  

Mime
View raw message