On Jan 16, 2008 4:07 PM, Nicolas Lalevée <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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

Reply via email to