ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@apache.org>
Subject Re: building myrmidon
Date Sun, 13 Jan 2002 02:26:16 GMT
On Sun, 13 Jan 2002 12:44, Adam Murdoch wrote:
> > From: Peter Donald [mailto:peter@apache.org]
> >
> > One thing we need to be careful of is that the same "data item"
> > can either be
> > gotten from a element or an attribute. So you could specify
> > classpath as an
> > attribute or as a nested element. So instead of documenting both
> > the setter
> > and the adder we could instead document the instance variable (ie
> > attribute
> > we use to store it) and have xdoclet directives that tell you
> > where to pick
> > up the "real" documentation and stuff. Thoughts?
>
> Or you could apply my configurer patch, so that there'd only be a single
> setter/adder method to document.

Sounds kool. Haven't looked at patch yet - sorry ;) However one semantic that 
I have thought about in the past is

setter == set 0-1 times
adder == set 0-N times

And we could enforce this at the configurator level - thoughts?

-- 
Cheers,

Pete

--------------------------------
 These aren't the droids you're 
 looking for. Move along. 
--------------------------------

--
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