ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raja Nagendra Kumar <nagendra.r...@tejasoft.com>
Subject Force all location properties to be resolved in Unix Style
Date Tue, 05 Jun 2012 14:21:36 GMT
Hi,

Is it possible for ant location property to be resolved or echoed always in
unix style path seperator.. irrespective of os on which ant is used..

e.g

 <property name="downloads.lr.ver.root"
              location="c:\\java\\portals\\liferay\\vers/"/>

 <echo message="Unix Style value is ${downloads.lr.ver.root}"/>

should print c:/java/portals/liferay/vers/

when this script is run in windows os too..

Basically every reference of ant property with paths should use separator /
rather than os specific one..

Is that possible through some global property


Regards,
Raja Nagendra Kumar
C.T.O
www.tejasoft.com

--
View this message in context: http://ant.1045680.n5.nabble.com/Force-all-location-properties-to-be-resolved-in-Unix-Style-tp5713314.html
Sent from the Ant - Dev mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message