You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-user@ant.apache.org by Maarten Coene <ma...@yahoo.com> on 2007/03/28 17:01:57 UTC

selecting dependencies used by only 1 module

Hi,

say I have the following modules:

modA depends on modB and modC.
modB depends on modD, modE and modF
modC depends on modD, modF and modG
modE depends on modG and modH

I do a resolve of all the dependencies of modA.

Without doing a new resolve, is there a way to select all dependencies of modB that are required for modB ONLY? In this example, this would be modE and modH.

regards,
Maarten




 
____________________________________________________________________________________
Bored stiff? Loosen up... 
Download and play hundreds of games for free on Yahoo! Games.
http://games.yahoo.com/games/front

Re: selecting dependencies used by only 1 module

Posted by Xavier Hanin <xa...@gmail.com>.
On 3/28/07, Maarten Coene <ma...@yahoo.com> wrote:
>
> Hi,
>
> say I have the following modules:
>
> modA depends on modB and modC.
> modB depends on modD, modE and modF
> modC depends on modD, modF and modG
> modE depends on modG and modH
>
> I do a resolve of all the dependencies of modA.
>
> Without doing a new resolve, is there a way to select all dependencies of
> modB that are required for modB ONLY? In this example, this would be modE
> and modH.


The resolve report has all the information you need, but there is no current
task to do what you want, so you'll need to write some xslt or java (if you
use the ResolveReport instance which is kept in the Ant project) to get what
you need.

- Xavier

regards,
> Maarten
>
>
>
>
>
>
> ____________________________________________________________________________________
> Bored stiff? Loosen up...
> Download and play hundreds of games for free on Yahoo! Games.
> http://games.yahoo.com/games/front
>