ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Using files in classpath in task file=""
Date Mon, 07 Apr 2003 07:37:56 GMT
On Fri, 4 Apr 2003, Jose Alberto Fernandez <>

> I would like for ANT to do this for me, transparently.
> 	<property name="fileurl" locationURL="${myfile}"/>
> or somethig like that.

Sure, should be trivial using FileUtils#toURI together with
setLocationURL(File), I'm just not sure about the attribute name.
locationURL would imply that its value was an URL and not a location
that gets turned into an URI - at least to me.  

Hmm, uriOfLocation="${myfile}"?  uriForLocation?

Attributes are case-insensitive in Ant.


View raw message