Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 84819 invoked from network); 13 Feb 2010 15:22:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Feb 2010 15:22:51 -0000 Received: (qmail 34710 invoked by uid 500); 13 Feb 2010 15:22:51 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 34631 invoked by uid 500); 13 Feb 2010 15:22: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 34623 invoked by uid 99); 13 Feb 2010 15:22:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Feb 2010 15:22: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; Sat, 13 Feb 2010 15:22:49 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id EC15629A0014 for ; Sat, 13 Feb 2010 07:22:27 -0800 (PST) Message-ID: <1309645279.253591266074547966.JavaMail.jira@brutus.apache.org> Date: Sat, 13 Feb 2010 15:22:27 +0000 (UTC) From: "Bryan Pendleton (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (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:comment-tabpanel&focusedCommentId=12833400#action_12833400 ] Bryan Pendleton commented on DERBY-4341: ---------------------------------------- Hi John, thanks for investigating this! You can mark the issue as "assigned" to you, during the time you are studying it, so that others will know. This problem doesn't *always* occur, only sometimes. I think that it tends to occur under a scenario like this: 1) You have successfully built a certain vesion of the source 2) Your classpath points to the built version of the source 3) You update your subversion client to a new revision which holds new messages 4) You try to build, with you classpath still pointing to the old built jars, which do NOT refer to that message. So see if it helps to reproduce the problem, by adding some new messages to messages.xml in your client, and then see if you are able to run the message checking tragets with your classpath pointing at jars that don't hold those messages. > 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 > > 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.