ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Partridge, Michael" <Michael.Partri...@shps.com>
Subject Newbie settings file question
Date Wed, 08 Oct 2008 16:40:58 GMT
In my project build.xml, I'm trying to load my ivy settings file from my
ivy user dir, but the ivy user dir properties don't appear to be
replaced in the file attribute of the settings tag. I've tried a couple
of different ones that I found in the Ivy doc:

<ivy:settings file="${ivy.user.dir}/ivysettings.xml"/>
<ivy:settings file="${ivy.default.ivy.user.dir}/ivysettings.xml"/>

Is this possible? 

Specifying an absolute path in the file attribute works, but I'd like
the settings file to reside in the ivy user dir, the location of which
will differ between developers on windows and linux.

Here's a snippet of the output:

resolve:
[ivy:settings] :: Ivy 2.0.0-beta2 - 20080225093827 ::
http://ant.apache.org/ivy/ ::

BUILD FAILED
D:\eclipse-workspace\WeyGrpCopy\build-byhand.xml:37: settings file does
not exist:
D:\eclipse-workspace\myproject\${ivy.user.dir}\ivysettings.xml

Mike Partridge

-----------------------------------------
CONFIDENTIALITY NOTICE: This electronic message transmission is
intended only for the person or the entity to which it is addressed
and may contain information that is privileged, confidential or
otherwise protected from disclosure. If you have received this
transmission, but are not the intended recipient, you are hereby
notified that any disclosure, copying, distribution or use of the
contents of this information is strictly prohibited. If you have
received this e-mail in error, please contact the sender of the
e-mail and destroy the original message and all copies.

Mime
View raw message