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 "marc.deboeck" <ma...@syntigo.com> on 2011/05/10 09:23:22 UTC

How to analyse dependencies ?

Hello,
We noticed that our dependencies are not always defined in an optimal way.
The reason is that people copy/paste dependencies from other modules, and
that they usually tend to include too many dependencies rather than
investigating what they really need.

I know I can use the ant-task "report" and "yed" for this, but I am looking
for something more intelligent. For example in analogy with the Maven
command "mvn dependency:analyze", I am looking for a means to:

* detect libraries that are use but haven't declared in the ivy.xml (but
work through transitive dependencies)
* detect libraries that are no longer used but are still present in the
ivy.xml.

Does anybody knows how this can be achieved with ant/Ivy ?

Thanks,
Marc
-- 
View this message in context: http://old.nabble.com/How-to-analyse-dependencies---tp31583324p31583324.html
Sent from the ivy-user mailing list archive at Nabble.com.


Re: How to analyse dependencies ?

Posted by Geoff Clitheroe <g....@gmail.com>.
I haven't done this with straight ivy but I have used tattle tale and it was
excellent for this job.  http://www.jboss.org/tattletale

Cheers
Geoff
 On May 10, 2011 7:23 PM, "marc.deboeck" <ma...@syntigo.com> wrote:
>
> Hello,
> We noticed that our dependencies are not always defined in an optimal way.
> The reason is that people copy/paste dependencies from other modules, and
> that they usually tend to include too many dependencies rather than
> investigating what they really need.
>
> I know I can use the ant-task "report" and "yed" for this, but I am
looking
> for something more intelligent. For example in analogy with the Maven
> command "mvn dependency:analyze", I am looking for a means to:
>
> * detect libraries that are use but haven't declared in the ivy.xml (but
> work through transitive dependencies)
> * detect libraries that are no longer used but are still present in the
> ivy.xml.
>
> Does anybody knows how this can be achieved with ant/Ivy ?
>
> Thanks,
> Marc
> --
> View this message in context:
http://old.nabble.com/How-to-analyse-dependencies---tp31583324p31583324.html
> Sent from the ivy-user mailing list archive at Nabble.com.
>