sixlegs.com / blog / java / jarjar.html

Root Beer Logo Root Beer

Chris Nokleberg's Fizzy Weblog

June 2004
Su M Tu W Th F Sa
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 22 25 26
27 28 29 30
Previous  |  Next  |  More...
#  Jar Jar Links - A tool to eliminate Jar Hell

I'm happy to announce the availability of Jar Jar Links. Licensed under the GPL, this library provides an extended version of the Ant Jar task that allows you to dynamically repackage the classes in an existing Jar file, and embed the transformed classes inside a single, conflict-proof library.

This tool was originally developed to enable the embedding of the CGLIB, ASM, and Jaxen libraries inside our Java PowerPoint Library, but is probably even more useful for open-source projects, which increasingly tend to have many external dependencies.

Jar Jar Links should enable the embedding of most libraries as-is. Potential issues include handling of String literals (e.g. reflection code) and resource files. In some cases, simple changes will be necessary to make a library embeddable. If this practice catches on, I hope to provide a logo which projects can display to indicate their "Jar Jar Friendliness", in addition to an online database of compatible libraries.

The documentation is a little scant right now but I encourage anyone with ideas or questions to join the mailing list.

[Powered By FreeMarker]  [Valid Atom 1.0]  [Weblog Commenting by HaloScan.com]