Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 96379 invoked from network); 21 Sep 2007 19:47:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Sep 2007 19:47:28 -0000 Received: (qmail 58151 invoked by uid 500); 21 Sep 2007 19:47:19 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 58116 invoked by uid 500); 21 Sep 2007 19:47:19 -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 58107 invoked by uid 99); 21 Sep 2007 19:47:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Sep 2007 12:47:19 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [63.82.107.6] (HELO red.amberpoint.com) (63.82.107.6) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Sep 2007 19:47:19 +0000 Received: from [127.0.0.1] (bpendleton-dsk2.edgility.com [10.10.11.13]) by red.amberpoint.com (8.14.0/8.12.11) with ESMTP id l8LJkus6018072 for ; Fri, 21 Sep 2007 12:46:57 -0700 (PDT) Message-ID: <46F41FB0.9030405@amberpoint.com> Date: Fri, 21 Sep 2007 12:46:56 -0700 From: Bryan Pendleton User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: derby-dev@db.apache.org Subject: Re: Requiring Java 5 compiler References: <46EEA838.808@sun.com> <46F4079B.8070000@sun.com> <46F4164A.4000606@amberpoint.com> <46F41B91.2010204@sun.com> In-Reply-To: <46F41B91.2010204@sun.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org > Thanks, Bryan. I was thinking of wiring a check into the "init" target > of the top level build.xml. The build would fail if the compiler wasn't > advanced enough. Would that satisfy your build requirements? Sure, that sounds good! I'm thinking out loud here, but my expectation is that, once you've made your change, the impact on me ("Average Joe Derby Developer") is: - I have to install Java 1.5 on my machine if I haven't already - I have to add the line j15lib=/path/to/java1.5/jre/lib into my ant.properties - I can continue using the same ant.properties for all my 10.2, 10.3, and trunk builds - I use the same build commands (ant clobber/all/buildjars/junitreport/etc) that I currently use - If I do either of the first two steps wrong, I get a friendly message. Is that more or less the way you envision this? If so, sounds fine to me! thanks, bryan