Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 3305 invoked from network); 14 Feb 2010 16:57:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Feb 2010 16:57:51 -0000 Received: (qmail 62046 invoked by uid 500); 14 Feb 2010 16:57:51 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 62009 invoked by uid 500); 14 Feb 2010 16:57:51 -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 62001 invoked by uid 99); 14 Feb 2010 16:57:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Feb 2010 16:57:51 +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; Sun, 14 Feb 2010 16:57:49 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E737B234C48D for ; Sun, 14 Feb 2010 08:57:27 -0800 (PST) Message-ID: <10167049.264241266166647945.JavaMail.jira@brutus.apache.org> Date: Sun, 14 Feb 2010 16:57:27 +0000 (UTC) From: "John Storta Jr. (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-4341) Building with ant all with a different CLASSPATH defined causes the build to fail In-Reply-To: <1553815269.1249582274849.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-4341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John Storta Jr. updated DERBY-4341: ----------------------------------- Issue & fix info: [Newcomer, Workaround attached] (was: [Newcomer]) > Building with ant all with a different CLASSPATH defined causes the build to fail > --------------------------------------------------------------------------------- > > Key: DERBY-4341 > URL: https://issues.apache.org/jira/browse/DERBY-4341 > Project: Derby > Issue Type: Bug > Components: Build tools > Affects Versions: 10.6.0.0 > Reporter: Tiago R. Espinha > Assignee: John Storta Jr. > > The problem happens when we are trying to compile the source code in a folder and have the CLASSPATH variable set to a different code tree folder. This results in compile failures like the following: > runmessagecheck: > [runMessageBundleTest] WARNING: Message id 22011.S.1 in messages_en.properties is not referenced in either SQLState.java or MessageId.java > [runMessageBundleTest] WARNING: Message id 42Y03.S.0 in messages_en.properties is not referenced in either SQLState.java or MessageId.java > [runMessageBundleTest] WARNING: Message id 42Y03.S.1 in messages_en.properties is not referenced in either SQLState.java or MessageId.java > [runMessageBundleTest] WARNING: Message id 42Y03.S.2 in messages_en.properties is not referenced in either SQLState.java or MessageId.java > BUILD FAILED > /home/tiago/Desktop/DerbyStuff/CodeTenFiveTwo/build.xml:514: Message check failed. > See error in build output or call ant runmessagecheck. > Total time: 1 minute 11 seconds > This should be an easy fix and it is marked as a bug, since it doesn't seem very logical for the compiling process to be CLASSPATH-dependent. Note that unsetting the CLASSPATH altogether allows the compile to run without errors, so clearly this variable isn't needed and shouldn't be used when it is set. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.