ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peter reilly <peter.rei...@corvil.com>
Subject Ant 1.6 and namespace
Date Mon, 17 Nov 2003 15:41:39 GMT
Last week, I sent a questionary about
namespace support in ant 1.6.

http://marc.theaimsgroup.com/?l=ant-dev&m=106848848930806&w=2

>From the feedback, I think that we should
implement option b), nested elements of tasks/types
have the same namespace uri as the containing task/type,
unless they are typedefed elements.

For example:

<project xmlns:antcontrib="antlib:net.sf.antcontrib"
         xmlns:acme="antlib:org.acme.anttasks">
  <target name="show">
    <antcontrib:if>
        <antcontrib:or>
	    <antcontrib:equals arg1="yes" arg2="${prop}"/>
            <acme:fileready file="${file}"/>
        </antcontrib:or>
        <antcontrib:then>
           <echo>The arguments are equal</echo>
        </antcontrib:then>
    </antcontrib:if>
  </target>
</project>


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


Mime
View raw message