ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: antlib
Date Thu, 22 May 2003 13:36:53 GMT
On Thu, 22 May 2003, Antoine Levy-Lambert <levylambert@tiscali-dsl.de>
wrote:

> It is perfectly possible to program ant so that roles are optional
> and just make things more explicit.

It certainly is.  Peter's patch is half-way there (roles are not
optional but not there at all 8-) - roles can be plugged into the two
new methods in IntrospectionHelper rather easily.

> Roles could be used to disambiguate situations where a component
> class implements several interfaces which have a meaning for ant,
> say Shape and Block for instance, and a task accepts both shapes and
> blocks as nested elements.

As could an attribute on the nested element itself.  But I agree with
the use-case anyway.

Stefan

Mime
View raw message