On Fri, 4 Apr 2003, Jose Alberto Fernandez <[EMAIL PROTECTED]>
wrote:

> 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.

Stefan

Reply via email to