Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 22051 invoked from network); 10 Oct 2005 22:51:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Oct 2005 22:51:17 -0000 Received: (qmail 44143 invoked by uid 500); 10 Oct 2005 22:51:16 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 44118 invoked by uid 500); 10 Oct 2005 22:51:16 -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 44107 invoked by uid 99); 10 Oct 2005 22:51:16 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2005 15:51:16 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [67.116.30.6] (HELO red.amberpoint.com) (67.116.30.6) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2005 15:51:17 -0700 Received: from [127.0.0.1] (bp-work.edgility.com [10.10.11.69]) by red.amberpoint.com (8.12.11/8.12.11) with ESMTP id j9AMorsY022884 for ; Mon, 10 Oct 2005 15:50:53 -0700 (PDT) Message-ID: <434AF04D.2030409@amberpoint.com> Date: Mon, 10 Oct 2005 15:50:53 -0700 From: Bryan Pendleton User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: derby-dev@db.apache.org Subject: Re: Beginner question about building Derby myself Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > For the 2904165 build - did you compile the classes with both > debug=false, and sane=false in your ant.properties ? > I suspect the 2904165 size is probably because the classes were built with debug=true > > Sunitha. Yes, you are exactly right. Re-building with debug=false in my ant.properties causes me to get jar files that are basically identical in size to the ones from the binary distribution. May I suggest that a paragraph about "debug=true/false" be added to section 3.2 of http://svn.apache.org/repos/asf/db/derby/code/trunk/BUILDING.txt, as I completely was unaware that I could set a debug property in my ant.properties file. Something like: - debug This variable defines whether the java compiler should be run in debug mode or not. In debug mode, extra information about line numbers and local variables is emitted into the class files, allowing for source level debugging and for stack traces with line numbers. Setting the 'debug' variable will cause your JAR files to be much larger, however. The default value for this variable is 'true'. debug=false thanks, bryan