ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Lenz <cml...@gmx.de>
Subject Re: antlibs/namespaces
Date Wed, 05 Nov 2003 18:37:20 GMT
peter reilly wrote:
> There are some other issues, in ant 1.7 we hope to move
> from staticly adding conditions, filters etc to using <typedef/> for
> them. Using the new namespace rules would mean that this is obvious.
> 
> For example:
> 
> <antcontrib:if>
>    <antcontrib:or>
>       <antcontrib:equals arg1="a" arg2="${prop}"/>
>       <newcondition url="http://apache.org..."/>
>    </antcontrib:or>
>    <antcontrib:then>
>       <echo>succeeded!</echo>
>    </antcontrib:then>
> </antcontrib>
> 
> of course <or/> and <equals/> will be added as typedef'ed conditions so the
> following will work in 1.7 (but not 1.6 with the new rules)
> 
> <antcontrib:if>
>    <or>
>       <equals arg1="a" arg2="${prop}"/>
>       <newcondition url="http://apache.org..."/>
>    </or>
>    <antcontrib:then>
>       <echo>succeeded!</echo>
>    </antcontrib:then>
> </antcontrib>

Well, maybe the whole namespace support story should be postponed to 1.7 
then? It does not really make much sense in its current form IMHO.

Ant 1.6 has a lot of improvements already, and Antlibs are definitely useful 
even without the namespace support AFAICT.

-chris



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


Mime
View raw message