Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 8207 invoked from network); 8 Jun 2006 09:08:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Jun 2006 09:08:30 -0000 Received: (qmail 82953 invoked by uid 500); 8 Jun 2006 09:08:28 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 82919 invoked by uid 500); 8 Jun 2006 09:08:28 -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 82908 invoked by uid 99); 8 Jun 2006 09:08:28 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jun 2006 02:08:28 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [192.6.10.2] (HELO colossus.hpl.hp.com) (192.6.10.2) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jun 2006 02:08:27 -0700 Received: from localhost (localhost.localdomain [127.0.0.1]) by colossus.hpl.hp.com (Postfix) with ESMTP id 005B36B99F for ; Thu, 8 Jun 2006 10:08:06 +0100 (BST) Received: from colossus.hpl.hp.com ([127.0.0.1]) by localhost (colossus.hpl.hp.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 13989-09 for ; Thu, 8 Jun 2006 10:08:05 +0100 (BST) Received: from kropotkin.hpl.hp.com (kropotkin.hpl.hp.com [16.25.191.14]) by colossus.hpl.hp.com (Postfix) with ESMTP id BF09E6B999 for ; Thu, 8 Jun 2006 10:08:04 +0100 (BST) Received: from localhost (localhost [127.0.0.1]) by kropotkin.hpl.hp.com (Postfix) with ESMTP id 73F937132 for ; Thu, 8 Jun 2006 10:08:04 +0100 (BST) Received: from kropotkin.hpl.hp.com ([127.0.0.1]) by localhost (kropotki [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 15904-02 for ; Thu, 8 Jun 2006 10:08:00 +0100 (BST) Received: from timmay.hpl.hp.com (timmay.hpl.hp.com [16.25.171.20]) by kropotkin.hpl.hp.com (Postfix) with ESMTP id CFED8B548 for ; Thu, 8 Jun 2006 10:07:59 +0100 (BST) Received: from [16.25.171.182] (chamonix.hpl.hp.com [16.25.171.182]) by timmay.hpl.hp.com (8.13.2/8.13.2) with ESMTP id k5897uIU020316 for ; Thu, 8 Jun 2006 10:07:56 +0100 (BST) Message-ID: <4487E8EC.1060309@apache.org> Date: Thu, 08 Jun 2006 10:07:56 +0100 From: Steve Loughran User-Agent: Thunderbird 1.5.0.4 (X11/20060516) MIME-Version: 1.0 To: Ant Developers List Subject: Re: adding getURL() to Resource [WAS: [Bug 39407] - Change task to accept the XSLT stylesheet as a resource] References: <20060607133840.B825871429B@brutus.apache.org> <20060607134750.178760@gmx.net> In-Reply-To: <20060607134750.178760@gmx.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-HPLB-IMAP-MailScanner-Information: Please contact the Helpdesk for more information X-HPLB-IMAP-MailScanner: Found to be clean X-HPLB-IMAP-MailScanner-SpamCheck: not spam, SpamAssassin (score=0, required 5) X-Virus-Scanned: amavisd-new at kropotkin.hpl.hp.com X-Virus-Scanned: amavisd-new at hplb.hpl.hp.com X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Antoine Levy-Lambert wrote: > Hi, > > XSLT processing, and maybe other tasks would need a method getURL() to be added to Resource. > > Any thoughts on that ? > > If we do it, do we do : > String() getURL() > > or > > java.net.URL getURL() +1 for this; more strongly typed. Leave the option in for returning null meaning "unable to make up a URL for this". --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org