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 08:22:10 GMT
On Sun, 13 Jan 2002 14:04, Adam Murdoch wrote:
> > From: Peter Donald [mailto:peter@apache.org]
> >
> > 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?
>
> Sounds good.  A better fit for what the ant 1 tasks expect.
>
> One comment, though.  Clearly, it would be useful to enforce min
> multiplicity as well. 

maybe - all I was concerned about was that the semantics be correct. It would 
be confusing to users if set behaved differently from other code in the 
javaworld. So setters sort of have the "set once" semantic thing. Adders work 
around this limitation.

-- 
Cheers,

Pete

---------------------------------------------------
Murphy's law - "Anything that can go wrong, will." 
(Actually, this is Finagle's law, which in itself 
shows that Finagle was right.)
---------------------------------------------------

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