Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 23084 invoked from network); 19 Nov 2007 14:43:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Nov 2007 14:43:24 -0000 Received: (qmail 53210 invoked by uid 500); 19 Nov 2007 14:43:11 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 53179 invoked by uid 500); 19 Nov 2007 14:43:10 -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 53170 invoked by uid 99); 19 Nov 2007 14:43:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Nov 2007 06:43:10 -0800 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [192.18.6.24] (HELO gmp-eb-mail-2.sun.com) (192.18.6.24) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Nov 2007 14:42:58 +0000 Received: from fe-emea-10.sun.com (gmp-eb-lb-2-fe1.eu.sun.com [192.18.6.10]) by gmp-eb-mail-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id lAJEgpdu015196 for ; Mon, 19 Nov 2007 14:42:51 GMT Received: from conversion-daemon.fe-emea-10.sun.com by fe-emea-10.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) id <0JRR00101CLO2K00@fe-emea-10.sun.com> (original mail from Vemund.Ostgaard@Sun.COM) for derby-dev@db.apache.org; Mon, 19 Nov 2007 14:42:51 +0000 (GMT) Received: from [129.159.112.187] by fe-emea-10.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTPSA id <0JRR00CLNCUR68C0@fe-emea-10.sun.com> for derby-dev@db.apache.org; Mon, 19 Nov 2007 14:42:28 +0000 (GMT) Date: Mon, 19 Nov 2007 15:42:24 +0100 From: Vemund Ostgaard Subject: Re: Automatic setting of compiler classpath properties at build time In-reply-to: <474199FA.9030800@sun.com> Sender: Vemund.Ostgaard@Sun.COM To: derby-dev@db.apache.org Message-id: <4741A0D0.20304@sun.com> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7BIT References: <474199FA.9030800@sun.com> User-Agent: Thunderbird 2.0.0.6 (X11/20070802) X-Virus-Checked: Checked by ClamAV on apache.org Rick Hillegas wrote: > I have checked in some build logic which automatically sets the > compiler classpath properties. This is part of the work on DERBY-3117 > and the goal, ultimately, is to have a Derby build script which works > out of the box without any customizing of ant.properties. > > In order to take advantage of this automatic property setting today, > you need to remove some existing properties from your ant.properties > (j14lib, j15lib, java14compile.classpath, java15compile.classpath) > and, instead, set the following in ant.properties: > > autosetProps=on > > That is, right now you have to request the automatic setting of > properties. A month from now, I would like to make automatic property > setting the default. Note that even after automatic property setting > becomes the default, you will still be able to override the defaults > by setting the properties as you do today. > > Over the next month, I would appreciate it if people could try out the > automatic property setting in their own environments and let me know > if something breaks. I would like this to be as solid as possible > before switching the default behavior. I tried it out in my sandbox Rick, and it worked fine except for one thing that probably isn't related to your changes. The first time I do "ant all" after having done "ant clean" or "ant clobber", the build fails when compiling junitcomponents: [javac] Compiling 1 source file to /usr/local/cluwin/vo136787/derby/source/trunk/classes [javac] Compiling 11 source files to /usr/local/cluwin/vo136787/derby/source/trunk/classes [javac] /usr/local/cluwin/vo136787/derby/source/trunk/java/testing/org/apache/derbyTesting/functionTests/harness/Sed.java:35: package org.apache.oro.text.regex does not exist [javac] import org.apache.oro.text.regex.*; As far as I can understand, for some reason it cannot find the jakarta-oro-2.0.8.jar, but it is in my tools/java/ directory where it is supposed to be. When I do "ant all" again, it works, but it fails the same way every time I have done clean or clobber before. Any idea? Vemund