Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 320 invoked from network); 21 Mar 2009 04:48:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Mar 2009 04:48:14 -0000 Received: (qmail 94943 invoked by uid 500); 21 Mar 2009 04:48:14 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 94923 invoked by uid 500); 21 Mar 2009 04:48:14 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 94914 invoked by uid 99); 21 Mar 2009 04:48:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Mar 2009 21:48:14 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO aurora.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Mar 2009 04:48:12 +0000 Received: from aurora.apache.org (localhost [127.0.0.1]) by aurora.apache.org (8.13.8+Sun/8.13.8) with ESMTP id n2L4lqGc005201 for ; Sat, 21 Mar 2009 04:47:52 GMT Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: commits@harmony.apache.org Date: Sat, 21 Mar 2009 04:47:52 -0000 Message-ID: <20090321044752.5153.43175@aurora.apache.org> Subject: [Harmony Wiki] Update of "Harmony classes selector" by littlee X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Harmony Wiki" for change notification. The following page has been changed by littlee: http://wiki.apache.org/harmony/Harmony_classes_selector New page: = Harmony Classes Selector Plan = == Requirement == 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. == Goal == 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.