The Artima Developer Community
Sponsored Link

Java Buzz Forum
Finding dependencies with JarJar

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
dion

Posts: 5028
Nickname: dion
Registered: Feb, 2003

Dion Almaer is the Editor-in-Chief for TheServerSide.com, and is an enterprise Java evangelist
Finding dependencies with JarJar Posted: Jan 3, 2005 2:06 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by dion.
Original Post: Finding dependencies with JarJar
Feed Title: techno.blog(Dion)
Feed URL: http://feeds.feedburner.com/dion
Feed Description: blogging about life the universe and everything tech
Latest Java Buzz Posts
Latest Java Buzz Posts by dion
Latest Posts From techno.blog(Dion)

Advertisement
Chris Nokleberg has answered Hani's desire for a simple tool to find dependencies between two codebases. He hacked JarJar to do just this. He shows the example of: $ java -jar jarjar.jar --find --level=jar j1.jar:j2.jar:j3.jar:j4.jar giving you: commons-beanutils-1.6.1.jar -> commons-collections-3.1.jar commons-betwixt-0.5.jar -> commons-digester-1.5.jar commons-betwixt-0.5.jar -> commons-beanutils-1.6.1.jar commons-betwixt-0.5.jar -> commons-collections-3.1.jar commons-cli-1.0.jar -> commons-lang-2.0.jar commons-codec-1.2.jar -> commons-codec-1.3.jar commons-dbcp-1.2.1.jar -> commons-pool-1.2.jar commons-dbcp-1.2.1.jar -> commons-collections-3.1.jar commons-digester-1.5.jar -> commons-collections-3.1.jar commons-digester-1.5.jar -> commons-beanutils-1.6.1.jar commons-jxpath-1.2.jar -> commons-beanutils-1.6.1.jar commons-pool-1.2.jar -> commons-collections-3.1.jar commons-validator-1.1.3.jar -> commons-collections-3.1.jar commons-validator-1.1.3.jar -> commons-beanutils-1.6.1.jar commons-validator-1.1.3.jar -> commons-digester-1.5.jar Very nice. IMO, tools like these should be in the JDK itself. The graph that he has on his blog would also be very helpful. In some ways I also would like to have a way to have a jar file show a dependency to another component library in a maven-esque way (I want the module foo, version 1.4) rather than Class-Path: /some/path/to/it. That would cut down on the libs that are laying around (although you end up having most of them in your MAVEN_REPO instead of all of your lib dirs if you go that way! Much better)

Read: Finding dependencies with JarJar

Topic: why i switched to a Powerbook Previous Topic   Next Topic Topic: Don't Forget About the Application

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use