From commits-return-24696-apmail-harmony-commits-archive=harmony.apache.org@harmony.apache.org Wed Jan 10 00:50:03 2007 Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 95310 invoked from network); 10 Jan 2007 00:49:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Jan 2007 00:49:53 -0000 Received: (qmail 43901 invoked by uid 500); 10 Jan 2007 00:49:55 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 43880 invoked by uid 500); 10 Jan 2007 00:49:55 -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 43862 invoked by uid 99); 10 Jan 2007 00:49:55 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jan 2007 16:49:55 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jan 2007 16:49:47 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8255B714295 for ; Tue, 9 Jan 2007 16:49:27 -0800 (PST) Message-ID: <24708022.1168390167529.JavaMail.jira@brutus> Date: Tue, 9 Jan 2007 16:49:27 -0800 (PST) From: "Alex Blewitt (JIRA)" To: commits@harmony.apache.org Subject: [jira] Created: (HARMONY-2957) Update pack200 project layout and ensure 1.4 compatibility MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Update pack200 project layout and ensure 1.4 compatibility ---------------------------------------------------------- Key: HARMONY-2957 URL: https://issues.apache.org/jira/browse/HARMONY-2957 Project: Harmony Issue Type: Improvement Components: Classlib Reporter: Alex Blewitt Priority: Minor Attachments: pack200-project.patch This patch adds support for the Eclipse project to be based on 1.4 compatibility, rather than 1.5 compatibility. I've split the Java source into two; src/main/java and src/main/java5 -- the latter needs to be compiled with a 1.5 system, the former with a 1.4 system. I've amended the build.xml appropriately to have multiple targets in the appropriate sections, and tested it out (though I've had to hack the build to get it to work on Mac OS X). I'm pretty sure there's a cleaner way of adding source folders than I've done, but I'm open to suggestions. The src/main/java needs to be compiled on a 1.4 system, and the src/main/java5 needs to be compiled on a 1.5 (or with 1.5 support, anyway). To make life easier for an Eclipse developer working on the project in 1.4 mode, the java5 has been exported to pack200-java5.jar and included in with the patch (though, for some reason, the diff tool doesn't like binary files so I'm having to attach it manually). I've fixed the SegmentTest; I'm not sure if inheriting this again is a case of deleting the make/excludes* files; but I've not done that in this patch. I can supply another patch if this is the case. I've also written a new test to ensure that the compiled class files are generated with 1.4 compatibility, which should hopefully prevent this form being inadvertently reverted in the future. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira