de.fhg.igd.bin
Class ClassBundle

java.lang.Object
  extended by de.fhg.igd.bin.ClassBundle

public class ClassBundle
extends Object

This utility takes a number of class names, computes the transitive closure of all referenced classes and copies those classes from the classpath to a given directory. Classes and packages can be excluded from the closure by passing their names. If no excusion is given then the packages java.*, javax.* and sun.* are excluded by default.

Version:
"$Id: ClassBundle.java 1913 2007-08-08 02:41:53Z jpeters $"
Author:
Volker Roth

Field Summary
static String DEFAULT_EXCLUDE
          The packages excluded by default from the closure computation.
static String DESC
          The option descriptor.
protected  Resource resource_
           
 
Constructor Summary
ClassBundle()
           
 
Method Summary
static void main(String[] argv)
           
 void run(String[] argv)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DESC

public static final String DESC
The option descriptor.

See Also:
Constant Field Values

DEFAULT_EXCLUDE

public static final String DEFAULT_EXCLUDE
The packages excluded by default from the closure computation.

See Also:
Constant Field Values

resource_

protected Resource resource_
Constructor Detail

ClassBundle

public ClassBundle()
Method Detail

main

public static void main(String[] argv)

run

public void run(String[] argv)
         throws Exception
Throws:
Exception


Copyright © Fraunhofer Gesellschaft. All Rights Reserved.