Differences between revisions 1 and 2
Revision 1 as of 2009-03-21 04:47:49
Size: 1153
Editor: 166
Revision 2 as of 2009-09-20 21:55:15
Size: 1153
Editor: localhost
Comment: converted to 1.6 markup
No differences found!

Harmony Classes Selector Plan


  • For many java desktop application, sometimes they will offer a JRE in the installation package, which may be big. And the project may also customize the jre to be smallest for the application, which cost much effort. We are looking for an automatic tool to find out all classes for the application and build up a smallest JRE for the customer.

    For many our developers, we have EasyMock to cheat coverage tools, such as Emma. The smallest jre can help us to find these cheats, make code more robust.


  • Input: A project with src code and test code, such as MINA. Output: A jre, which is the smallest size.

High level Design

  • The tool can be depart into 2 small sequences:
  • 1 Infomation Collector
    • In this step, we run project unit tests, collect which real classes has been used by these unit tests. These information should be sufficient, we can have lots conclusion for the later use.
    2 Generate smallest jre
    • In this step, we use information collected by step 1, combining with our harmony classes dependences, to build the smallest jre.

Harmony_classes_selector (last edited 2009-09-20 21:55:15 by localhost)