ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy-Lambert <anto...@gmx.de>
Subject Re: Resource.getURL()
Date Mon, 25 Sep 2006 10:22:23 GMT
Dominique Devienne wrote:
>
> The question is why would you need to get back a URL from a Resource?
You need to get a URL from a resource if you want to use the resource as
InputSource in XML processing.
The URL is used to set the SystemId, in practice to be able to resolve
includes, entities, ... which are to be found with a relative path.

This is the only reason why I want to add getURL() to Resource. The
Resource type is a normal, non abstract class.

Stefan Bodewig suggested to wait until after 1.7.0 is out to do that.

Regards,

Antoine


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message