ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carsten.Pfeif...@gebit.de
Subject Re: order of dependencies undefined when using retrieve task?
Date Fri, 25 Jan 2013 10:07:59 GMT
Bummer, but thanks for the pointer.

Oh, and congrats to the 2.3.0 release :-)

Cheers
Carsten



From:   Maarten Coene <maarten_coene@yahoo.com>
To:     "ivy-user@ant.apache.org" <ivy-user@ant.apache.org>
Date:   24.01.2013 23:47
Subject:        Re: order of dependencies undefined when using retrieve 
task?



At the moment, Ivy doesn't respect the order as specified in your ivy.xml.
Cfr https://issues.apache.org/jira/browse/IVY-225

Maarten




________________________________
 From: "Carsten.Pfeiffer@gebit.de" <Carsten.Pfeiffer@gebit.de>
To: ivy-user@ant.apache.org 
Sent: Thursday, January 24, 2013 12:45 PM
Subject: order of dependencies undefined when using retrieve task?
 

Hi, 

I'm using Ivy 2.3.0 and noticed that
the depencencies specified in an ivy.xml are not the same 
as those in the path that I get using
<ivy:retrieve pathid="my.classpath"/> 

You can see this yourself by putting
the attached files into a directory and calling ant. I would expect 
javax.servlet-api.jar to be the first
entry in the resulting classpath, however it is only somewhere 
in the middle of the classpath. 

This is especially a problem here because
the second dependency provides org.mortbay.jetty/servlet-api-2.5.jar 
which contains the same packages as
javax.servlet-api, but in a different version. 

I can fix this specific problem by adding
an <exclude> for org.mortbay.jetty here, but I'd expect the dependencies 
order to be respected. This might otherwise
lead to unexpected runtime errors. 

Thanks 
Carsten 

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