ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lewis, Eric" <>
Subject Newbie: Can't configure Ivy from local file in Windows
Date Fri, 08 Aug 2008 09:25:39 GMT

I'm new to Ivy and like it a lot :-)  (I'm using 2.0.0-beta2)
I'm trying to create a new general build, which consists of a general
'build.xml' file in the directory 'build', which is then included and
called in every project.

I'm trying to add the repo to Ivy and followed the instructions
on the site.

This means that my project has the following build file:
<project name="xyz" default="rebuild" basedir="."
  <property name="project.version" value="1.0.5" />
  <property name="build.dir" location="../../build" />
  <import file="${build.dir}/project/build.xml"/>

And in the general 'build.xml' file, I have

  <target name="init">

    <ivy:settings file="${build.dir}/global/ivysettings.xml" />
    <ivy:retrieve file="ivy.xml" />

    <ivy:cachepath pathid="lib.path" conf="default" />
    <path id="lib.path.test">
      <path refid="lib.path" />
      <path location="${classes.main.dir}" />


So the settings are in the 'build' directory, and the 'ivy.xml' file is
in the project directory.

However, when I start the build, I get

[ivy:settings] :: Ivy 2.0.0-beta2 - 20080225093827 :: ::
[ivy:settings] :: loading settings :: file =

C:\jp\build\project\build.xml:16: impossible to configure ivy:settings
with given file: C:\jp\build\global\ivysettings.xml
:java.text.ParseException: failed to load settings from
file:/C:/jp/build/global/ivysettings.xml: io problem while parsing
config file: unknown protocol: c

I must be doing something wrong, but can't figure it out...

Any help is really appreciated  :-)

Best regards,

P.S. Or perhaps there's a simpler way to just add a repository to the
default public repositories?

View raw message