Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 48039 invoked from network); 13 Jan 2002 08:52:39 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 13 Jan 2002 08:52:39 -0000 Received: (qmail 9142 invoked by uid 97); 13 Jan 2002 08:52:46 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 9124 invoked by uid 97); 13 Jan 2002 08:52:46 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 9113 invoked from network); 13 Jan 2002 08:52:45 -0000 Message-Id: <200201130825.g0D8Pl804678@mail008.syd.optusnet.com.au> Content-Type: text/plain; charset="utf-8" From: Peter Donald To: "Ant Developers List" Subject: Re: building myrmidon Date: Sun, 13 Jan 2002 19:22:10 +1100 X-Mailer: KMail [version 1.3.2] References: In-Reply-To: X-Wisdom-Cookie: . MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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: For additional commands, e-mail: