Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 63979 invoked from network); 21 Feb 2002 10:13:46 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 21 Feb 2002 10:13:46 -0000 Received: (qmail 25557 invoked by uid 97); 21 Feb 2002 10:13:55 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 25508 invoked by uid 97); 21 Feb 2002 10:13:54 -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 25497 invoked from network); 21 Feb 2002 10:13:54 -0000 From: "Adam Murdoch" To: "Ant Developers List" Subject: RE: cvs commit: jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/components/configurer PropertyException.java PropertyUtil.java Date: Thu, 21 Feb 2002 20:11:37 +1000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 In-Reply-To: <20020221093330.94371.qmail@icarus.apache.org> Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > -----Original Message----- > From: donaldp@apache.org [mailto:donaldp@apache.org] > Sent: Thursday, 21 February 2002 7:34 PM > To: jakarta-ant-cvs@apache.org > Subject: cvs commit: > jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/components/co > nfigurer PropertyException.java PropertyUtil.java > > > donaldp 02/02/21 01:33:29 > > Added: > proposal/myrmidon/src/java/org/apache/myrmidon/components/configurer > PropertyException.java PropertyUtil.java > Log: > Add a PropertyUtil class that doesn't need avalons Context > Can we make this non-static? That way we can change the behaviour (e.g. for an Ant 1.x compat layer, or as a config option). How about this: - Add TaskContext.resolveValue( String ). - Move the guts of PropertyUtil to a new AbstractTaskContext. - Pass a TaskContext to Configurer.configure(). Or, maybe extract out a super-interface (call it, um, Context). This would be useful for putting together a ServiceContext too. Adam -- To unsubscribe, e-mail: For additional commands, e-mail: