Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 50F6A1337B83 for ; Sat, 2 Oct 2010 01:59:11 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 14328-04 for ; Sat, 2 Oct 2010 04:59:04 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from tremor.opencloud.co.nz (tremor.opencloud.co.nz [131.203.101.230]) by mail.postgresql.org (Postfix) with ESMTP id DB7691337B86 for ; Sat, 2 Oct 2010 01:59:03 -0300 (ADT) Received: from 121-98-80-66.bitstream.orcon.net.nz ([121.98.80.66] helo=[192.168.1.2]) by tremor.opencloud.co.nz with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1P1uBW-0003N6-OC; Sat, 02 Oct 2010 17:58:58 +1300 Message-ID: <4CA6BC0D.8070607@opencloud.com> Date: Sat, 02 Oct 2010 17:58:53 +1300 From: Oliver Jowett User-Agent: Thunderbird 2.0.0.24 (X11/20100411) MIME-Version: 1.0 To: Albert Kurucz CC: pgsql-jdbc@postgresql.org Subject: Re: Upgrade to 9 questions References: <4CA69A30.5090300@opencloud.com> In-Reply-To: X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201010/19 X-Sequence-Number: 20987 Albert Kurucz wrote: > Oliver, > > What command do I need to give to Ant to make the necessary substitutions? The slightly misleadingly named target "driver" will configure the build environment and do all the substitutions, but not actually compile the result. So: "ant driver" > Why source files are not release after preprocessing? Because the substitutions that are needed are different depending on your build environment e.g. which JDBC version and JDK you are building for. The ant buildfile handles both detecting your build environment and performing suitable substitutions. Releasing multiple source distributions, each of which only works for one environment, where the only difference is in the 3-4 templated files - that'd be confusing and unnecessary when the build process already handles it, don't you think? > Java source files please for the non Ant users! I don't think we really support building the driver except via ant, it is something of a de-facto standard for building Java these days. (Ok, now the Maven people are going to yell at me ;-)) Consider it a prerequisite for building the driver, just like having a functional JDK installed is a prerequisite. -O