ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jose Alberto Fernandez" <jalbe...@cellectivity.com>
Subject RE: Roles (was: antlib)
Date Tue, 29 Apr 2003 14:03:57 GMT
> From: Stefan Bodewig [mailto:bodewig@apache.org]
> 
> On Tue, 29 Apr 2003, peter reilly <peter.reilly@corvil.com> wrote:
> 
> > Rather than (to take a perverse example)
> > <condition>
> >     <os type="outofdate">
> >         <targetfiles...
> > </condition>
> 
> Ouch.  I'd rather envision
> 
> <condition>
>   <condition type="outofdate" ...
> 
> with a new public addCondition(Condition) method.  The duplication of
> Condition is pure incidence, the one in the method name determines the
> element name, the argument the acceptable types.
> 

This continues with the two-tier issue, the core conditions
of ANT you can just named, but the third party ones need to use
some funny syntax. This is one of the things I was trying to get rid of.
The whole point of roles is to put everyone on the same footing.

> > This could be stopped by having two new introspection rules:
> 
> One new rule should be enough, and will be enough no matter which
> route we are going to take.
> 
> > But this does mean changing public methods
> 
> No way. 8-)
> 
Agreed.

Jose Alberto

Mime
View raw message