What's new? | Help | Directory | Sign in
Google
jarjar
Embedding Java libraries since 2004
  
  
  
  
    
Code License: Apache License 2.0
Labels: Repackage, Bytecode, Jar, Java, Google
Show all Featured Downloads:
jarjar-1.0rc7.jar
Show all Featured Wiki Pages:
ChangeLog GettingStarted
Join project
Project owners:
  chris.nokleberg, aglenning

Jar Jar Links is a utility that makes it easy to repackage Java libraries and embed them into your own distribution. This is useful for two reasons:

How does it work?

Jar Jar Links includes an Ant task that extends the built-in jar task. The normal zipfileset element is used to embed jar files. A new rule element is added which uses wildcards patterns to rename the embedded class files. Bytecode transformation (via ASM) is used to change references to the renamed classes, and special handling is provided for moving resource files and transforming string literals.