Class StaticLinker

java.lang.Object
eu.bandm.tools.util.StaticLinker

@Deprecated public class StaticLinker extends Object
Deprecated.
use JarLinker instead, which supports command line options.
ATTENTION FIXME 20131120
According to http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html currently there are missing in the manifest file the attributes
      Permissions:all-permissions
      Codebase:bandm.eu www.bandm.eu markuslepper.eu
  
THIS MAY BLOCK EXECTION IN NEAR FUTURE!
Collect only those run-time classes which are reachable from a main class, to create a compact binary distribution.
  • Constructor Details

    • StaticLinker

      public StaticLinker()
      Deprecated.
  • Method Details

    • setDebugging

      void setDebugging(boolean debugging)
      Deprecated.
    • linkApplication

      public void linkApplication(String mainClassName, File targetJarFile, File... libraries) throws IOException
      Deprecated.
      Method for packing a binary distribution into a jar file.
      Parameters:
      mainClassName - the name of the main class
      targetJarFile - the file object into which the jar file shall be generated
      libraries - jar files or directoris of class files from which class files shall be included in the binary distribution.
      Throws:
      IOException
    • main

      public static void main(String[] args) throws IOException
      Deprecated.
      Command line tool for packing a binary distribution into a jar file.
      -- param args[0] the name of the main class
      -- param args[1] the path to the jar file to generate
      -- param args[2..] the libraries classes from which shall be included, given as jar files or directories of class files.
      Throws:
      IOException