From ant-dev-return-25005-qmlist-jakarta-archive-ant-dev=jakarta.apache.org@jakarta.apache.org Sat Feb 09 08:15:29 2002 Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 36485 invoked from network); 9 Feb 2002 08:15:29 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 9 Feb 2002 08:15:29 -0000 Received: (qmail 22366 invoked by uid 97); 9 Feb 2002 08:15:36 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 22295 invoked by uid 97); 9 Feb 2002 08:15:35 -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 22280 invoked from network); 9 Feb 2002 08:15:34 -0000 Message-Id: <200202090815.g198FXR23602@mail004.syd.optusnet.com.au> Content-Type: text/plain; charset="utf-8" From: Peter Donald To: "Ant Developers List" Subject: Re: cvs commit: jakarta-ant/proposal/myrmidon/src/testcases/org/apache/myrmidon/components/configurer ConfigTest10.java StringToMyRole1Converter.java DefaultConfigurerTest.java MyRole1.java Date: Sat, 9 Feb 2002 18:30:35 +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 Sat, 9 Feb 2002 12:49, Adam Murdoch wrote: > > On Sat, 9 Feb 2002 09:33, Adam Murdoch wrote: > > > > * Uses the DataType role when creating instances for interface > > > > properties, > > > > rather than using the interface itself as the role. > > > > > > The motivation for this change was to allow a data type to be used in > > > , TypeInstanceTask, and as a parameter to add() methods. > > > > Im not sure I follow you here. If I have a > > > > add( MyRole value ); > > > > will that look up in the registry under MyRole or DataType? > > DataType. Same as and TypeInstanceTask. I still don't understand the motivation for this. Instead of MyRole lets say interface Condition extends DataType {} add( Condition c ); Why would you want to look up an arbitrary DataType? Wouldn't it be best to just look up types that implement Condition? > > If it is looking > > up the registry under DataType - what happens in the following case > > > > > > > > > > > > > > > > Both types have the same name but different roles. So what would > > happen here ? > > Not sure whether you're asking about 2 classes or one single class here? 2 different classes - ie > > > > BTW I noticed you removed the > > > > myException.fillInStackTrace() when exceptions were rethrown - > > what was the > > motivation for that? > > Laziness (my primary motivation :) excellent! > - so that the original stack trace was > there for me to click on in IDEA. I can put it back if you like. No need for now. When re start stabilizing and releasing to the public it will be good to go back and do it though. -- Cheers, Pete *------------------------------------------------* | Trying is the first step to failure. | | So never try, Lisa - Homer Jay Simpson | *------------------------------------------------* -- To unsubscribe, e-mail: For additional commands, e-mail: