Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 20459 invoked from network); 17 Aug 2009 22:09:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Aug 2009 22:09:20 -0000 Received: (qmail 33635 invoked by uid 500); 17 Aug 2009 21:09:39 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 33551 invoked by uid 500); 17 Aug 2009 21:09: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 33543 invoked by uid 99); 17 Aug 2009 21:09:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Aug 2009 21:09:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Aug 2009 21:09:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C6925234C044 for ; Mon, 17 Aug 2009 14:09:14 -0700 (PDT) Message-ID: <1362492523.1250543354808.JavaMail.jira@brutus> Date: Mon, 17 Aug 2009 14:09:14 -0700 (PDT) From: "Myrna van Lunteren (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-4263) PropertySetter isn't able to recognize JDK without version number in path In-Reply-To: <1986965356.1244503567342.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-4263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12744203#action_12744203 ] Myrna van Lunteren commented on DERBY-4263: ------------------------------------------- I've logged a complaint regarding the strange 1.6 (SR5) MANIFEST.MF file; in the mean time I've got things working again, so I suggest we leave things as is for now. > PropertySetter isn't able to recognize JDK without version number in path > ------------------------------------------------------------------------- > > Key: DERBY-4263 > URL: https://issues.apache.org/jira/browse/DERBY-4263 > Project: Derby > Issue Type: Bug > Components: Build tools > Affects Versions: 10.6.0.0 > Reporter: Knut Anders Hatlen > Assignee: Kristian Waagan > Priority: Minor > Fix For: 10.6.0.0 > > Attachments: derby-4263-1a-jdk_detection_by_jars.diff, derby-4263-1b-jdk_detection_by_jars.diff > > > With empty ant.properties and JDK 6 installed in /tmp/jdk as the only JDK on the system, PropertySetter complains that it's not able to set java16compile.classpath: > ,---- > | [setJdkProperties] > | [setJdkProperties] PropertySetter environment = > | [setJdkProperties] > | [setJdkProperties] java.vendor = Sun Microsystems Inc. > | [setJdkProperties] java.home = /tmp/jdk/jre > | [setJdkProperties] java.version = 1.6.0_13 > | [setJdkProperties] os.name = SunOS > | [setJdkProperties] j14lib = null > | [setJdkProperties] j15lib = null > | [setJdkProperties] j16lib = null > | [setJdkProperties] > | > | BUILD FAILED > | /code/derby/trunk0/build.xml:203: Don't know how to set java15compile.classpath, java16compile.classpath using this environment: > | > | java.vendor = Sun Microsystems Inc. > | java.home = /tmp/jdk/jre > | java.version = 1.6.0_13 > | os.name = SunOS > | j14lib = null > | j15lib = null > | j16lib = null > `---- > Since it is able to detect both that the version of the default JDK is 1.6.0_13 and where it is installed, setting java16compile.classpath should be trivial. > If the name of the JDK directory is changed from /tmp/jdk to /tmp/jdk1.6.0, Derby is built successfully. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.