Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 48520 invoked from network); 25 Sep 2006 20:37:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Sep 2006 20:37:28 -0000 Received: (qmail 58713 invoked by uid 500); 25 Sep 2006 20:37:27 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 58673 invoked by uid 500); 25 Sep 2006 20:37:27 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 58662 invoked by uid 99); 25 Sep 2006 20:37:27 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Sep 2006 13:37:27 -0700 Authentication-Results: idunn.apache.osuosl.org smtp.mail=mcconnell@dpml.net; spf=permerror X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received-SPF: error (idunn.apache.osuosl.org: domain dpml.net from 203.59.1.133 cause and error) Received: from [203.59.1.133] ([203.59.1.133:2921] helo=customer-domains.icp-qv1-irony8.iinet.net.au) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 29/11-13750-EFD38154 for ; Mon, 25 Sep 2006 13:37:21 -0700 Received: from unknown (HELO julia) ([203.173.50.61]) by customer-domains.icp-qv1-irony8.iinet.net.au with ESMTP; 26 Sep 2006 04:36:50 +0800 X-BrightmailFiltered: true X-IronPort-AV: i="4.09,215,1157299200"; d="scan'208"; a="497530873:sNHT1713640168" From: "Stephen McConnell" To: "'Ant Developers List'" Subject: RE: Resource.getURL() Date: Tue, 26 Sep 2006 06:05:39 +0930 Message-ID: <00ba01c6e0e2$4ef927a0$0301a8c0@julia> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 In-Reply-To: <20060925184701.99756.qmail@web55109.mail.re4.yahoo.com> Thread-Index: Acbg1GR56Lg2OBdLRlmeH/49o94JfQAAGl2w X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > -----Original Message----- > From: Matt Benson [mailto:gudnabrsam@yahoo.com] > Sent: Tuesday, 26 September 2006 4:17 AM > To: Ant Developers List > Subject: Re: Resource.getURL() > > --- Dominique Devienne wrote: > > > > A URLResource could then be created using: > > > new URLResource( name, uri, > > > handlerClassResourceName ); > > > > > > The upside of this approach is the elimination of > > > the entire subject of system classloader mutation, > > > and a framework for binding custom handlers > > > (which resolves some of the earlier issues raised > > > in this thread). > > > > I have no issue whatsoever with this Steve :-) --DD > > The problem with this approach--specifying the handler > classname to the URLResource constructor--is that it fails to > address the primary requirement that Ant have a predictable > way to resolve a string representation of a Resource to a > properly configured Resource implementation. :( Matt: Can you expand on what you mean by "a string representation of a Resource"? Are your implying something equivalent to the way a URL can be externalized to a string (which could be done if all resources are associated with dedicated url handlers). Some concrete usage examples would be handy. /Steve. -------------------------- Stephen McConnell mailto:mcconnell@dpml.net http://www.dpml.net --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org