ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@apache.org>
Subject Re: IntrospectionHelper request
Date Mon, 07 Jan 2002 01:09:11 GMT
On Mon, 7 Jan 2002 11:39, Conor MacNeill wrote:
> > -----Original Message-----
> > From: Adam Murdoch [mailto:adammurdoch_ml@yahoo.com]
> > Sent: Monday, 7 January 2002 10:31 AM
> > To: Ant Developers List
> > Subject: RE: IntrospectionHelper request
> >
> > > Where we have numerous patterns for things like
> > >
> > > addX
> > > createX
> > > addConfiguredX
> > > setX
> > >
> > > we could have probably gotten away with just
> > >
> > > addX
> > > setX
> > >
> > > or even just
> > >
> > > setX
> >
> > Good idea (for Ant 2, at least).  The current distinction between
> > attributes and elements on the task interface is kinda artifical.
>
> Adam,
>
> Have you considered the difference between createX and addX. This is not
> about attribute/elements. It is about who knows how to create an object. If
> we just have setX, then the implication is that all nested element objects
> are created by the core and not by the task. Are you suggesting that the
> ability for a task to create its nested elements should be removed?

Hell yes !

-- 
Cheers,

Pete

---------------------------------------------
 We shall not cease from exploration, and the 
  end of all our exploring will be to arrive 
 where we started and know the place for the 
        first time -- T.S. Eliot
---------------------------------------------

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


Mime
View raw message