ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Eigenbrodt" <m.fic...@googlemail.com>
Subject AW: Find out who needed a module
Date Fri, 20 Jun 2008 06:07:49 GMT
Hi,
I just verified:

  <ivy:report graph="false"  />

Wihtout a prior resolve gibes an NPE.
If I put a resolve in front that will fail because of the missing module,
but does not tell me the dependency path to the missing one.

Best regards,

Martin


-----Urspr√ľngliche Nachricht-----
Von: Dan North [mailto:tastapod@gmail.com] 
Gesendet: Donnerstag, 19. Juni 2008 17:14
An: ivy-user@ant.apache.org
Betreff: Re: Find out who needed a module

Hi Martin.

There's an ivy:report post-resolve task that generates exactly that
information in various formats. The html one is nice and clear, and the xml
one is very simple. For instance I wrote a ruby script that uses the latter
to generate eclipse .classpath files.

Cheers,
Dan

2008/6/19 Martin Ficker <m.ficker@googlemail.com>:

> Hello,
> i really hope this is not a FAQ. I searched the available Information 
> but did not find a answer.
> A Resolve (Ivy 1.4 from ant) failed because some modules were not found.
> The
> unresolved dependencies are not direct dependencies but ivy's output 
> does not tell me which of my Project dependencies needed them. I had 
> to check them one by one.
> Is there a possibility to have ivy output the dependency chain to the 
> missing dependency?
> Example:
> Unresolved Dependency: SomethingA.
> Path to missing dependency: YourProject -> SomeModuleB -> SomethinghA
>
> Best regards,
>
> Martin
>


Mime
View raw message