This post originated from an RSS feed registered with Java Buzz
by dion.
Original Post: Jar File Hell
Feed Title: techno.blog(Dion)
Feed URL: http://feeds.feedburner.com/dion
Feed Description: blogging about life the universe and everything tech
Christian posted about Is 159 jar files too many?
It is a little crazy isn't it? I had been thinking about a tool that would look in your lib directory, and generate a versions.txt for you... working out dependencies. This would assume that people play nice with the jar MANIFEST and put a version in there.
It is interesting how different the world is with jar files compared to the GAC and machine libraries. In these worlds we were fighting with keeping that global resource up to date, and then running into the issues with multiple versions. Now we are copying jar files all over the place.
This library hell really shows you that we reuse a lot more code that we write!. If you do a count on the jar files that you depend on versus your application jar file you will see the difference. Then you start to think about everything else that you depend on (OS, network, etc) and we are just writing some glue at the top of the mountain!