ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
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 [mailto:NBhatia@sapient.com] 
Sent: Sunday, January 26, 2003 10:09 PM
To: ant-user@jakarta.apache.org
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: nbhatia@sapient.com



--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message