Raja Nagendra Kumar <[email protected]> wrote on 06/05/2012
10:21:36 AM:
> 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/
It's not the prettiest solution but I think you could use <pathconvert>
for this purpose.