Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 22831 invoked from network); 18 May 2005 23:47:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 May 2005 23:47:41 -0000 Received: (qmail 2777 invoked by uid 500); 18 May 2005 22:20:49 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 2735 invoked by uid 500); 18 May 2005 22:20:47 -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 2536 invoked by uid 99); 18 May 2005 22:20:45 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from brmea-mail-4.Sun.COM (HELO brmea-mail-4.sun.com) (192.18.98.36) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 18 May 2005 15:20:42 -0700 Received: from fe1.sun.com ([192.18.108.78]) by brmea-mail-4.sun.com (8.12.10/8.12.9) with ESMTP id j4IMKb0R009172 for ; Wed, 18 May 2005 16:20:37 -0600 (MDT) Received: from conversion-daemon.fe1.sun.com by fe1.sun.com (Sun Java System Messaging Server 6.1 HotFix 0.02 (built Aug 25 2004)) id <0IGP00901HQA6Z00@fe1.sun.com> (original mail from Craig.Russell@Sun.COM) for derby-dev@db.apache.org; Wed, 18 May 2005 16:20:37 -0600 (MDT) Received: from [129.146.30.202] by fe1.sun.com (Sun Java System Messaging Server 6.1 HotFix 0.02 (built Aug 25 2004)) with ESMTPSA id <0IGP00COMI2D59R5@fe1.sun.com> for derby-dev@db.apache.org; Wed, 18 May 2005 16:20:37 -0600 (MDT) Date: Wed, 18 May 2005 15:20:39 -0700 From: Craig Russell Subject: [PATCH] MacOS X BUILDING.txt To: derby-dev@db.apache.org Message-id: <9af3fdff8d3acf8814efee3b71cd82d0@Sun.COM> MIME-version: 1.0 X-Mailer: Apple Mail (2.622) Content-type: multipart/signed; protocol="application/pkcs7-signature"; boundary=Apple-Mail-68-708686266; micalg=sha1 X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --Apple-Mail-68-708686266 Content-Type: multipart/mixed; boundary=Apple-Mail-65-708686072 --Apple-Mail-65-708686072 Content-Type: multipart/alternative; boundary=Apple-Mail-66-708686072 --Apple-Mail-66-708686072 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed > From: Andrew McIntyre > Date: May 17, 2005 8:03:22 PM PDT > To: "Derby Development" > Subject: Re: Mac OSX build requirements > > > > On May 17, 2005, at 2:19 PM, Craig Russell wrote: > >> I would be happy to write up a patch for BUILDING.txt or wherever it >> should be. > > I just happen to be looking at some build/documentation related items > right now. I think it would be fine to put this information into > BUILDING, since it is key to building Derby on Mac OS X. If you > produce a patch, I'll review and commit it. > > Once you have it built, you'll probably want to look over DERBY-1 if > you haven't already: > > http://issues.apache.org/jira/browse/DERBY-1 Thanks. I've incorporated the information from DERBY-1 into the proposed update to the BUILDING.txt, which you will find attached. The patch is based on revision 170836. Thanks, Craig > > andrew --Apple-Mail-66-708686072 Content-Transfer-Encoding: 7bit Content-Type: text/enriched; charset=US-ASCII 0000,0000,0000From: Andrew McIntyre < 0000,0000,0000Date: May 17, 2005 8:03:22 PM PDT 0000,0000,0000To: "Derby Development" < 0000,0000,0000Subject: Re: Mac OSX build requirements On May 17, 2005, at 2:19 PM, Craig Russell wrote: I would be happy to write up a patch for BUILDING.txt or wherever it should be. I just happen to be looking at some build/documentation related items right now. I think it would be fine to put this information into BUILDING, since it is key to building Derby on Mac OS X. If you produce a patch, I'll review and commit it. Once you have it built, you'll probably want to look over DERBY-1 if you haven't already: http://issues.apache.org/jira/browse/DERBY-1 Thanks. I've incorporated the information from DERBY-1 into the proposed update to the BUILDING.txt, which you will find attached. The patch is based on revision 170836. Thanks, Craig andrew --Apple-Mail-66-708686072-- --Apple-Mail-65-708686072 Content-Transfer-Encoding: 7bit Content-Type: application/octet-stream; x-unix-mode=0644; name="MacOSX-BUILDING.diff" Content-Disposition: attachment; filename=MacOSX-BUILDING.diff Index: BUILDING.txt =================================================================== --- BUILDING.txt (revision 170836) +++ BUILDING.txt (working copy) @@ -29,6 +29,7 @@ 4.2 Derby source code upgrade 4.3 Derby build flow +5 MacOS X Requirements --------------------------------------------------------------- 1 About this document @@ -63,8 +64,9 @@ If there is any problem with any url, notify it via derby mailing list. +(4) There are specific requirements for MacOS X that you + should read prior to doing anything else. See section 5. - --------------------------------------------------------------- 2 Downloads @@ -133,6 +135,9 @@ The reference implementation is available at: http://java.sun.com/j2se + For MacOS X, get the latest download from: + http://developer.apple.com/java/download + (2) Install JDK 1.4.x according to the instructions included with the release in any directory. @@ -144,7 +149,7 @@ 2.2.3 Download and install Java Development Kit (JDK) release 1.3.x Skip steps 1-2 of this section if you already have JDK 1.3.x -installed on your system. +installed on your system or if you are on MacOS X. (1) Download JDK 1.3.x. The reference implementation is available at: @@ -282,7 +287,7 @@ (2) Create a file called "ant.properties" in user home directory and define the following variables in - "ant.properties": + "ant.properties". For MacOS X, see section 5. - j14lib @@ -559,3 +564,48 @@ At the end of the build, the properties files containing the message files are copied into the output directory and the version information properties files are generated. + +5. MacOS X Requirements + +With MacOS X, Java is now distributed as core technology, so no +downloads are needed except to upgrade to the latest release. The +distribution includes both JDK 1.4 and JDK 1.3. + +5.1 For MacOS X, the ant.properties is different from other environments, +and should contain the following. Note that for readability, multiple +jar files are shown as part of the classpath values, but they need +to be entered on a single line in the properties file. + +j13lib=/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Classes + +j14lib=/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Classes + +java13compile.classpath= +${j13lib}/classes.jar; +${j13lib}/ui.jar; +${j13lib}/i18n.jar; +${j13lib}/sunrsasign.jar; +${javatools.dir}/jdbc2_0-stdext.jar + +java14compile.classpath= +${j14lib}/classes.jar; +${j14lib}/ui.jar; +${j14lib}/laf.jar; +${j14lib}/sunrsasign.jar; +${j14lib}/jsse.jar; +${j14lib}/jce.jar; +${j14lib}/charsets.jar + +javatools.dir=${basedir}/tools/java + +compile.classpath=${java14compile.classpath} + +5.2 MacOS X 10.3 and earlier have a bug in the file system handling +that causes problems with Derby. See DERBY-1. The workaround is to +provide a derby.properties file with the entry: + +derby.storage.fileSyncTransactionLog=true + +The derby.properties file should be located in your derby.system.home +directory. For more information, see +http://incubator.apache.org/derby/manuals/tuning/perf14.html#HDRSII-SETPROP-16827 --Apple-Mail-65-708686072 Content-Type: multipart/alternative; boundary=Apple-Mail-67-708686073 --Apple-Mail-67-708686073 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:Craig.Russell@sun.com P.S. A good JDO? O, Gasp! --Apple-Mail-67-708686073 Content-Transfer-Encoding: 7bit Content-Type: text/enriched; charset=US-ASCII Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:Craig.Russell@sun.com P.S. A good JDO? O, Gasp! --Apple-Mail-67-708686073-- --Apple-Mail-65-708686072-- --Apple-Mail-68-708686266 Content-Transfer-Encoding: base64 Content-Type: application/pkcs7-signature; name=smime.p7s Content-Disposition: attachment; filename=smime.p7s MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIGHjCCAtcw ggJAoAMCAQICAw3FWTANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhh d3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt YWlsIElzc3VpbmcgQ0EwHhcNMDUwMTEwMDA0MTA5WhcNMDYwMTEwMDA0MTA5WjBHMR8wHQYDVQQD ExZUaGF3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