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 [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 26, 2003 10:09 PM To: [EMAIL PROTECTED] 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 Naresh Bhatia Sapient One Memorial Drive, Cambridge, MA 02142 Tel: 617-761-1771 Fax: 617-621-1300 Email: [EMAIL PROTECTED] -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
