ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xavier Hanin" <xavier.ha...@gmail.com>
Subject Re: ResolveReport API
Date Wed, 16 Jan 2008 15:21:13 GMT
On Jan 16, 2008 4:07 PM, Nicolas Lalevée <nicolas.lalevee@anyware-tech.com>
wrote:

> Hi,
>
> I have a question about the Ivy API. In IvyDE, to compute the classpath
> there
> is:
>
> ResolveReport r = _ivy.resolve(ivyURL, new
> ResolveOptions().setConfs(_confs));
> all.addAll(Arrays.asList(r.getAllArtifactsReports()));
>
> But it seems that the download reports contains also the evicted modules :
> so
> the classpath may contains different versions of same library.
> Is that expected, so there is an IvyDE bug, or it is an Ivy one ?

I'd say Ivy's bug is the lack of documentation of ResolveReport (among many
others). It's IvyDE bug to use this method while it doesn't filter out
evicted nodes. I guess we should add a method on the report to easily get
all non evicted artifacts reports, and use it in IvyDE.

Xavier

>
>
> cheers,
> Nicolas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
>


-- 
Xavier Hanin - Independent Java Consultant
http://xhab.blogspot.com/
http://ant.apache.org/ivy/
http://www.xoocode.org/

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