Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 24946 invoked from network); 3 Oct 2007 07:32:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Oct 2007 07:32:47 -0000 Received: (qmail 64873 invoked by uid 500); 3 Oct 2007 07:32:35 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 64834 invoked by uid 500); 3 Oct 2007 07:32:35 -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 64825 invoked by uid 99); 3 Oct 2007 07:32:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Oct 2007 00:32:35 -0700 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [192.18.6.21] (HELO gmp-eb-mail-1.sun.com) (192.18.6.21) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Oct 2007 07:32:35 +0000 Received: from fe-emea-09.sun.com (gmp-eb-lb-2-fe1.eu.sun.com [192.18.6.10]) by gmp-eb-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id l937W3cA029467 for ; Wed, 3 Oct 2007 07:32:13 GMT Received: from conversion-daemon.fe-emea-09.sun.com by fe-emea-09.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) id <0JPB00L01R3GAR00@fe-emea-09.sun.com> (original mail from Knut.Hatlen@Sun.COM) for derby-dev@db.apache.org; Wed, 03 Oct 2007 08:32:03 +0100 (BST) Received: from localhost ([129.159.112.134]) by fe-emea-09.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTPSA id <0JPB005KORLDNC70@fe-emea-09.sun.com> for derby-dev@db.apache.org; Wed, 03 Oct 2007 08:32:02 +0100 (BST) Date: Wed, 03 Oct 2007 09:32:01 +0200 From: Knut Anders Hatlen Subject: Re: Javadoc build problems with JDK 1.5 code? In-reply-to: <4702FC9C.4030107@amberpoint.com> Sender: Knut.Hatlen@Sun.COM To: derby-dev@db.apache.org Message-id: Organization: Sun Microsystems MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT References: <4702FC9C.4030107@amberpoint.com> User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (usg-unix-v) X-Virus-Checked: Checked by ClamAV on apache.org Bryan Pendleton writes: > I'm having some troubles building the engine javadoc (errors are > pasted below). I think that perhaps there is some new code that > uses JDK 1.5 syntax, and the JavaDoc build doesn't recognize that > code syntax. Hi Bryan, It seems to be working fine in the nightly builds. See for instance http://db.apache.org/derby/javadoc/engine/org/apache/derby/impl/services/cache/ConcurrentCache.html I don't see any problems either, but then I'm running with JAVA_HOME pointing to a JDK 6 installation. I guess building with JAVA_HOME pointing to a JDK 1.4 installation could be the cause, since only the JDBC 4.0 code has been explicitly set up to use build javadoc with a newer JDK, as far as I know. So I think there are two options: 1) Build the javadoc with JAVA_HOME set to a JDK 5 or later 2) Set up separate javadoc targets for the JDK 5 code Since the vote about requiring JDK 5 to build Derby seems to pass, it's probably best to go for option 1. -- Knut Anders