ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conor MacNeill <>
Subject Re: converting a file reference to a URL
Date Mon, 17 Sep 2001 12:50:08 GMT
David Jordan wrote:

> 1.
> I have a file/directory in my build directory (or subdirectory)
> and I would like to convert this to a valid URL.
> I am running on Windows.
> Whenever you use a directory in Ant, it converts it to the
> underlying OS representation (which uses backslash).
> But I want to execute a Java program that expects a URL,
> which uses forward slashes between directory names.
> How do you do this in ant?

You may be able to use the pathconvert task provided in Ant 1.4


View raw message