Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 43056 invoked from network); 6 Jun 2006 12:26:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Jun 2006 12:26:38 -0000 Received: (qmail 67907 invoked by uid 500); 6 Jun 2006 12:26:17 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 67816 invoked by uid 500); 6 Jun 2006 12:26:17 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 67793 invoked by uid 99); 6 Jun 2006 12:26:16 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jun 2006 05:26:16 -0700 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 195.212.29.135 is neither permitted nor denied by domain of mark.hindess@googlemail.com) Received: from [195.212.29.135] (HELO mtagate2.uk.ibm.com) (195.212.29.135) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jun 2006 05:26:15 -0700 Received: from d06nrmr1407.portsmouth.uk.ibm.com (d06nrmr1407.portsmouth.uk.ibm.com [9.149.38.185]) by mtagate2.uk.ibm.com (8.13.6/8.13.6) with ESMTP id k56CPrD9114584 for ; Tue, 6 Jun 2006 12:25:53 GMT Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by d06nrmr1407.portsmouth.uk.ibm.com (8.12.10/NCO/VER6.8) with ESMTP id k56CR3mn136552 for ; Tue, 6 Jun 2006 13:27:03 +0100 Received: from d06av02.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id k56CPrt0029155 for ; Tue, 6 Jun 2006 13:25:53 +0100 Received: from anaheim.local (anaheim.hursley.ibm.com [9.20.183.13]) by d06av02.portsmouth.uk.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id k56CPrDs029152; Tue, 6 Jun 2006 13:25:53 +0100 Message-Id: <200606061225.k56CPrDs029152@d06av02.portsmouth.uk.ibm.com> X-Mailer: exmh version 2.7.2 01/07/2005 (debian 1:2.7.2-7) with nmh-1.1 From: Mark Hindess To: harmony-dev@incubator.apache.org, geir@pobox.com Subject: Re: [testing] AWT, Swing Java2D In-reply-to: Your message of "Tue, 06 Jun 2006 06:27:58 EDT." <448558AE.20200@pobox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 06 Jun 2006 13:25:52 +0100 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 6 June 2006 at 6:27, Geir Magnusson Jr wrote: > > > zoe slattery wrote: > > Hi Geir > > Hi Zoe! > > Long time no hear, here! > > > > > Geir Magnusson Jr wrote: > >> Mark Hindess wrote: > > [SNIP] > > >>> The build machine I'm running is produces summaries of the "missing > >>> classes" for a number of applications on every build. Currently > >>> showing: > >>> > >> > >> Can you share this script somewhere? > >> > > See HARMONY-165 for a script which does the > > same thing. It's not exactly the same script - but does give the same > > results (I hope) > > What's the difference? I split the process into four steps: 1) Obtain reference lists of classes defined by the 1.4, 5.0, 6.0 APIs. You only need to do this once. 2) Create a class load list for an application - w/"java -verbose:class" 3) Create a list of classes provide by a Harmony jre - I did this by scanning the jars in the jre. You only need to do this when the JRE changes. 4) List all the classes in the result of 2) that are also in 1) but not in 3). That is, API classes used by not in Harmony. IIRC, Zoe's script combined steps 1), 3), and 4) so steps 1) and 3) were repeated for each application. This was fine for "casual" use but didn't really scale for our build process. One thing that might be interesting would be to configure a CGI/servlet to accept output from 2) via a HTTP file upload and compare it to a current version of 3) and produce the brief report of missing classes. So people could create a log with their favourite app on a RI and see if there is any chance it will work on Harmony. Regards, Mark. --------------------------------------------------------------------- Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org For additional commands, e-mail: harmony-dev-help@incubator.apache.org