ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: adding getURL() to Resource [WAS: [Bug 39407] - Change <xslt> task to accept the XSLT stylesheet as a resource]
Date Thu, 08 Jun 2006 09:07:56 GMT
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


Mime
View raw message