ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Using files in classpath in task file=""
Date Wed, 02 Apr 2003 15:34:57 GMT
On Wed, 02 Apr 2003, Nicola Ken Barozzi <nicolaken@apache.org> wrote:

> The problem is that AFAIK the xslt task needs a file, not an URL,
> and hence not a jar resource.

Errm, where does it need the file?

> All tasks that resolve files IIUC call
> 
>    public File resolveFile(File file, String filename)
> 
> in FileUtils.java [1]

Most of them implicitly by defining setXYZ(File) setters, yes.

> Again IIUC and AFAIK it could be quite easy to extend this method to
> use a url to get the "File".

Return an URL?  Receive an URL?  I don't understand what you want.

Stefan

Mime
View raw message