I have been thinking about an interesting problem for some time: how to generate code-distributions that are both self-contained and minimal. By "code-distribution" I mean a Java application distributed in the form of one or more JAR files containing classes and resources, of which one class is a designated “main class” (that is, it contains a “public static void main(String[])” method). By "self-contained" I mean that the code-distribution contains all the classes and resources needed by the main class to run. By "minimal" I mean that the code-distribution contains only classes that are used, directly or indirectly, by the main class.You can read the complete posting here.
Comments