ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Brown <tpbr...@gmail.com>
Subject Re: windows vs linux paths in properties
Date Tue, 27 Mar 2012 16:20:44 GMT
Odd.  The unix style path separator should work fine.

You could try replacing the / with ${file.separator} and see if the
result is different

~Sent from my mobile device. Please pardon any oddities :-)

On Mar 27, 2012, at 10:27 AM, Jasper Floor <jasper.floor@m4n.nl> wrote:

> HI,
>
> I have an ivy settings with the follwing two lines
>
>    <properties file="${basedir}/ivy.properties" override="true"/>
>    <properties file="${user.home}/.m4n.properties" override="true"/>
>
> Now, this works fine with linux (and presumably MacOs as noone has
> complained yet).
>
> This fails terribly in windows because of the /
> The reason, obviously is that the / should be a \ in windows.
> Is there any way to solve this in the ivy settings file?
>
>
> mvg,
> Jasper

Mime
View raw message