ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <peter.rei...@corvil.com>
Subject Re: DynamicConfigurator namespace problem
Date Fri, 12 Dec 2003 08:37:15 GMT
Gurr..

In making the change to remove the "uri:" portion from
the DynamicConfigurator#createElement(String) (for elements
not in the ant core namespace uri), I forgot to check all uses
in ant 1.6.

This change breaks our old friend <macrodef/> which uses DynamicConfigurator
to implement elements and attributes of the macros.  Previous to the change
the following macro could be in an antlib:

    <macrodef name="run">
      <element name="element"/>
      <sequential>
        <element/>
      </sequential>
    </macrodef>


and used as follows:

<site:run>
    <site:element>
       <echo>Hello world</echo>
    </site:element>
<site:run>

This does not work any more.

Peter

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


Mime
View raw message