Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 63031 invoked from network); 8 Oct 2007 18:33:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Oct 2007 18:33:51 -0000 Received: (qmail 13129 invoked by uid 500); 8 Oct 2007 18:33:39 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 13097 invoked by uid 500); 8 Oct 2007 18:33:39 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 13088 invoked by uid 99); 8 Oct 2007 18:33:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Oct 2007 11:33:39 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED 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; Mon, 08 Oct 2007 18:33:40 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8BE5C714201 for ; Mon, 8 Oct 2007 11:32:50 -0700 (PDT) Message-ID: <560955.1191868370569.JavaMail.jira@brutus> Date: Mon, 8 Oct 2007 11:32:50 -0700 (PDT) From: "Knut Anders Hatlen (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-3117) Adjust master build script to require the Java 5 compiler to build Derby In-Reply-To: <4974218.1191860570861.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-3117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12533182 ] Knut Anders Hatlen commented on DERBY-3117: ------------------------------------------- Looks good! I tried to compile with JAVA_HOME pointing to a 1.4 installation, and I got a very clear error message. Worked fine with 1.6. My only comment is to this part of the patch: -(2) The Derby build environment is tested with - JDK 142(Sun) and Ant 161. The Derby build environment should +(2) The Derby build environment is tested with Sun's Java 5 compiler, + with Sun's JDK 1.4.2 libraries, and with Ant 161. The Derby build environment should work with other versions and other sources of - JDK 14 (1.4.x), and other versions of Ant 1.6 (1.6.x). + Java 5 and JDK 14 (1.4.x) and with other versions of Ant 1.6 (1.6.x). One of the lines exceeded 80 characters. Also, Ant 161 should probably be 1.6.1 (if that's the version you have tested it with), and JDK 14 should be 1.4. I think it would also be good to change the link in +(4) Download the Java 5 or later JDK. + The reference implementation is available at: + http://java.sun.com/j2se to its new name http://java.sun.com/javase/. > Adjust master build script to require the Java 5 compiler to build Derby > ------------------------------------------------------------------------ > > Key: DERBY-3117 > URL: https://issues.apache.org/jira/browse/DERBY-3117 > Project: Derby > Issue Type: Improvement > Components: Build tools > Affects Versions: 10.4.0.0 > Reporter: Rick Hillegas > Assignee: Rick Hillegas > Attachments: derby-3117-01-enforceJava5-aa.diff > > > Require the Java 5 compiler in order to build Derby as approved by the community recently: http://www.nabble.com/-VOTE--Require-Java-5-%28or-later%29-compiler-to-build-Derby-tf4522491.html#a13030783 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.