ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mitch Gitman <>
Subject Re: buildlist task chokes on absolute path to parent Ivy module
Date Tue, 12 Jun 2012 05:07:58 GMT
I adapted src/example/multi-project in the Ivy distribution to have the
existing Ivy modules extend a parent ivy.xml. Such as:
<ivy-module version="1.0">
        <extends organisation="org.apache.ivy.example"
module="multi-parent" revision="1.0"
            location="../multi-parent/ivy.xml" />

Both absolute and relative paths worked.

This suggests the problem is on my end. I'm going to try deconstructing the
failing modules next, but if this rings any bells, I'd be glad to hear.

On Mon, Jun 11, 2012 at 11:13 AM, Mitch Gitman <> wrote:

> I'm using the parent Ivy module feature with the ivy.xml
> /ivy-module/info/extends element. This works just fine whether I use a
> relative path or an absolute path for the location attribute that locates
> the parent ivy.xml. When I go to run ivy:buildlist, however, it only works
> with the relative path. The moment it encounters an absolute path for the
> parent location, it fails with:
> … impossible to parse ivy file for …: ivyfile=…/ivy.xml
> exception=java.text.ParseException: Problem occurred while parsing ivy
> file: Unable to
>  parse included ivy file for …#...;… in file:/…/ivy.xml
> The exception is being thrown in XmlModuleDescriptorParser, line 422:
>             if (parent == null) {
>                 throw new ParseException("Unable to parse included ivy
> file for "
>                         + parentOrganisation + "#" + parentModule + ";" +
> parentRevision, 0);
>             }
> I'm seeing this with Ivy 2.2.0. I haven't tried yet to reproduce it with
> Ivy 2.3.0-rc1.
> Is anyone familiar with this behavior? Is this a known bug or is there
> something I'm missing?
> Depending on what I hear back, I can try creating an isolated, simple use
> case using both 2.2.0 and 2.3.0-rc1.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message