ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Haberman <>
Subject ParseException during install with namespaces
Date Wed, 17 Nov 2010 16:12:30 GMT

I'm trying to use ivy:install and have it translate from one namespace
to another. E.g. translate ibiblio's commons-lang/commons-lang to
apache/commons-lang while installing it into a local repo.

I think it should work, but I'm getting this error:

[ivy:install] 		::::::::::::::::::::::::::::::::::::::::::::::
[ivy:install] 		::          UNRESOLVED DEPENDENCIES         ::
[ivy:install] 		::::::::::::::::::::::::::::::::::::::::::::::
[ivy:install] 		:: commons-lang#commons-lang;2.3:
java.text.ParseException: inconsistent module descriptor file found in
bad organisation: expected='commons-lang' found='apache'; 

A ParseException at this point seems like a really odd thing to have
happen, so I'm not sure if I'm doing something wrong or if it's a bug.

I made a github repo that minimally reproduces the problem. If you
checkout [1], and run "ant install", you'll see the error.

You can see the ivysettings.xml I'm using at [2]. Note that I use a
custom cache location so it won't mess up your ~/.ivy2/cache if you try
it out.

Oddly enough, if I remove "m2compatible=true" from my ibiblio resolver
definition, the error goes away, and the install technically works, but
only the jar is installed, the sources are not picked up.

Shouldn't my use case still work with m2compatible=true?



View raw message