ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peterrei...@apache.org
Subject svn commit: r451479 - in /ant/core/trunk: WHATSNEW src/main/org/apache/tools/ant/UnknownElement.java
Date Fri, 29 Sep 2006 22:23:38 GMT
Author: peterreilly
Date: Fri Sep 29 15:23:38 2006
New Revision: 451479

URL: http://svn.apache.org/viewvc?view=rev&rev=451479
Log:
UnknownElement.maybeconfigure was 'always configure': Bugzilla 40641

Modified:
    ant/core/trunk/WHATSNEW
    ant/core/trunk/src/main/org/apache/tools/ant/UnknownElement.java

Modified: ant/core/trunk/WHATSNEW
URL: http://svn.apache.org/viewvc/ant/core/trunk/WHATSNEW?view=diff&rev=451479&r1=451478&r2=451479
==============================================================================
--- ant/core/trunk/WHATSNEW (original)
+++ ant/core/trunk/WHATSNEW Fri Sep 29 15:23:38 2006
@@ -29,6 +29,9 @@
 * <xmlproperty> did not create properties for empty leaf elements.
   Bugzilla report 26286.
 
+* UnknownElement.maybeConfigure always configured.
+  Bugzilla report 40641.
+
 Other changes:
 --------------
 

Modified: ant/core/trunk/src/main/org/apache/tools/ant/UnknownElement.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/UnknownElement.java?view=diff&rev=451479&r1=451478&r2=451479
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/UnknownElement.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/UnknownElement.java Fri Sep 29 15:23:38 2006
@@ -152,10 +152,9 @@
      * @exception BuildException if the configuration fails
      */
     public void maybeConfigure() throws BuildException {
-        //ProjectComponentHelper helper=ProjectComponentHelper.getProjectComponentHelper();
-        //realThing = helper.createProjectComponent( this, getProject(), null,
-        //                                           this.getTag());
-
+        if (realThing != null) {
+            return;
+        }
         configure(makeObject(this, getWrapper()));
     }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message