org.eclipse.jgit.pgm.build
Class JarLinkUtil

java.lang.Object
  extended by org.eclipse.jgit.pgm.build.JarLinkUtil

public class JarLinkUtil
extends java.lang.Object

Combines multiple JAR and directory sources into a single JAR file.

This is a crude command line utility to combine multiple JAR files into a single JAR file, without first needing to unpack the individual JARs.

The output ZIP stream is sent to standard out and can be redirected onto the end of a shell script which starts the JRE.


Method Summary
static void main(java.lang.String[] argv)
          Combine multiple JARs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(java.lang.String[] argv)
                 throws java.io.IOException
Combine multiple JARs.

Parameters:
argv - the command line arguments indicating the files to pack.
Throws:
java.io.IOException - a source file could not be read.