ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <>
Subject RE: How to get paths with forward slashes
Date Mon, 27 Jan 2003 15:12:24 GMT
See <pathconvert> for (1), and for (2), you'll have to either use <script>,
or write a custom task (AFAIK). --DD

-----Original Message-----
From: Naresh Bhatia [] 
Sent: Sunday, January 26, 2003 10:09 PM
Subject: How to get paths with forward slashes

1) Is there a way to get paths in Ant with forward slashes even on
Windows platform? For example:

  <property name="app_home" location="."/>

should somehow give c:/... instead of c:\...

2) How can I get a file location as a URL (e.g. file:///C:/...)


Naresh Bhatia
One Memorial Drive, Cambridge, MA 02142
Tel: 617-761-1771  Fax: 617-621-1300

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message