Package eu.bandm.tools.util
Class StaticLinker
java.lang.Object
eu.bandm.tools.util.StaticLinker
Deprecated.
Collect only those run-time classes which are reachable
from a main class, to create a compact binary distribution.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidlinkApplication(String mainClassName, File targetJarFile, File... libraries) Deprecated.Method for packing a binary distribution into a jar file.static voidDeprecated.Command line tool for packing a binary distribution into a jar file.(package private) voidsetDebugging(boolean debugging) Deprecated.
-
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 classtargetJarFile- the file object into which the jar file shall be generatedlibraries- jar files or directoris of class files from which class files shall be included in the binary distribution.- Throws:
IOException
-
main
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
-
JarLinkerinstead, 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.euTHIS MAY BLOCK EXECTION IN NEAR FUTURE!