ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Hurne <m...@thehurnes.com>
Subject Re: windows vs linux paths in properties
Date Tue, 27 Mar 2012 15:43:00 GMT
On Tue, Mar 27, 2012 at 11:32 AM, Jasper Floor <jasper.floor@m4n.nl> wrote:
> On Tue, Mar 27, 2012 at 4:33 PM, Matt Hurne <matt@thehurnes.com> wrote:
>> On Tue, 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?
>>
>>
>> That's strange; we use / in our Ant build files (including in file
>> attributes of property elements) on Windows without issue.
>
> The properties lines above are from an ivy-settings.xml file.
> Conceptually I think these settings belong with Ivy not with Ant. I
> was considering moving them to Ant if I couldn't get Ivy to do what I
> wanted. Luckilly Alex Foreman had the answer ready.


That makes sense.  Sorry for the confusion on my part.  No doubt
it would be nice if Ivy would tolerate \ in addition to / the way Ant
does.

Mime
View raw message