Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 26753 invoked from network); 17 May 2005 04:58:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 May 2005 04:58:31 -0000 Received: (qmail 46838 invoked by uid 500); 16 May 2005 19:03:57 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 46788 invoked by uid 500); 16 May 2005 19:03:56 -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: "Derby Development" Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 46530 invoked by uid 99); 16 May 2005 19:03:54 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 16 May 2005 12:03:51 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id DBA96333 for ; Mon, 16 May 2005 21:03:13 +0200 (CEST) Message-ID: <1784926424.1116270193860.JavaMail.jira@ajax.apache.org> Date: Mon, 16 May 2005 21:03:13 +0200 (CEST) From: "David Van Couvering (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-197) Add tip for Windows users in BUILDING.txt file regarding file paths in the ant.properties file In-Reply-To: <492508236.1112620598666.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-197?page=all ] David Van Couvering updated DERBY-197: -------------------------------------- Attachment: DERBY-197.diff Here is a patch to provide guidance to Windows users. I based the recommend approach (using forward slashes) on a number of threads on the Derby list, as well as my own hard-won experience. > Add tip for Windows users in BUILDING.txt file regarding file paths in the ant.properties file > ---------------------------------------------------------------------------------------------- > > Key: DERBY-197 > URL: http://issues.apache.org/jira/browse/DERBY-197 > Project: Derby > Type: Improvement > Components: Documentation > Reporter: John Sisson > Assignee: David Van Couvering > Priority: Trivial > Attachments: DERBY-197.diff > > In the section 3.2, step 2, where the user is instructed to add the j14lib and j13lib properties to the ant.properties file, it would be worth reminding the user that on windows, the file seperators need to be escaped. This is something most windows users will know, but it can be easily forgotten, especially when in other parts of the instructions you don't need to escape paths (e.g. when setting the path). > For example, the following works: > j14lib=C:\\j2sdk1.4.2_06\\jre\\lib > j13lib=C:\\jdk1.3.1_14\\jre\\lib > The following doesn't: > j14lib=C:\j2sdk1.4.2_06\jre\lib > j13lib=C:\jdk1.3.1_14\jre\lib > and causes the following errors: > compile_reference: > [javac] Compiling 9 source files to D:\OpenSourceJava\derby_trunk\trunk\classes > [javac] Found 2 system errors: > [javac] *** Error: Could not find package "java/util" in: > [javac] D:\OpenSourceJava\derby_trunk\trunk\tools\java\tools\java\empty.jar > [javac] C:\j2sdk1.4.2_06\jre\lib\ext\dnsns.jar > [javac] C:\j2sdk1.4.2_06\jre\lib\ext\ldapsec.jar > [javac] C:\j2sdk1.4.2_06\jre\lib\ext\localedata.jar > [javac] C:\j2sdk1.4.2_06\jre\lib\ext\sunjce_provider.jar > [javac] D:\OpenSourceJava\derby_trunk\trunk\classes > [javac] D:\OpenSourceJava\derby_trunk\trunk\tools\java\jdbc2_0-stdext.jar > [javac] D:\OpenSourceJava\derby_trunk\trunk\java\engine > [javac] . > [javac] *** Error: Could not find package "java/lang" in: > [javac] D:\OpenSourceJava\derby_trunk\trunk\tools\java\tools\java\empty.jar > [javac] C:\j2sdk1.4.2_06\jre\lib\ext\dnsns.jar > [javac] C:\j2sdk1.4.2_06\jre\lib\ext\ldapsec.jar > [javac] C:\j2sdk1.4.2_06\jre\lib\ext\localedata.jar > [javac] C:\j2sdk1.4.2_06\jre\lib\ext\sunjce_provider.jar > [javac] D:\OpenSourceJava\derby_trunk\trunk\classes > [javac] D:\OpenSourceJava\derby_trunk\trunk\tools\java\jdbc2_0-stdext.jar > [javac] D:\OpenSourceJava\derby_trunk\trunk\java\engine > [javac] . > BUILD FAILED > D:\OpenSourceJava\derby_trunk\trunk\build.xml:256: Following error occured while executing this line > D:\OpenSourceJava\derby_trunk\trunk\java\engine\build.xml:57: Following error occured while executing this line > D:\OpenSourceJava\derby_trunk\trunk\java\engine\org\apache\derby\iapi\reference\build.xml:32: Compile failed; see the compiler error > output for details. > Total time: 3 seconds -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira