Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TUKVt-0007zB-QS for pgsql-jdbc@postgresql.org; Fri, 02 Nov 2012 16:54:33 +0000 Received: from outbound.vnet-inc.com ([216.146.104.103]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TUKVq-0002ox-Cc for pgsql-jdbc@postgresql.org; Fri, 02 Nov 2012 16:54:32 +0000 Received: from [192.168.157.132] (unknown [76.75.27.41]) by outbound.vnet-inc.com (Postfix) with ESMTP id 40C6E5A47; Fri, 2 Nov 2012 10:54:29 -0600 (MDT) Message-ID: <5093F7F9.9030203@ttc-cmc.net> Date: Fri, 02 Nov 2012 10:42:33 -0600 From: dmp User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.13) Gecko/20100914 SeaMonkey/2.0.8 MIME-Version: 1.0 To: Dave Cramer , pgsql-jdbc@postgresql.org Subject: Re: 9.1-903 JDBC 3 Download References: <50898530.8010401@ttc-cmc.net> <508AAB5E.8090505@ttc-cmc.net> <50931D4F.2080203@ttc-cmc.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201211/12 X-Sequence-Number: 23479 Hello, Everything is now on the instance and the script seems to be working fine. The exception being jdk 1.8 and also jdk 1.5, 6 & 7 build fine. The source was taken from git last week, so I will update and run again a little later. The only question I guess is the script currently makes the jars according to the website versioning, jdbc1, jdbc2, jdbc3 etc. So the building for 6 & 7 will end up with the 7 jar only. Since the 6 will be over written, jdbc4, when 7 runs. This was the way it was coded, but may not be desirable. The run today only ended up with the jdbc4 jar since 1.5 & 1.8 failed. Output for 1.5 error: Building..... SDK_VERSION=java version "1.5.0_22" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_22-b03) Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_22-b03, mixed mode) Buildfile: /home/danap/development/pgjdbc/build.xml all: prepare: check_versions: check_driver: driver: compile: [javac] /home/danap/development/pgjdbc/build.xml:127: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 15 source files to /home/danap/development/pgjdbc/build [javac] /home/danap/development/pgjdbc/org/postgresql/jdbc3/Jdbc3ConnectionPool.java:10: cannot access org.postgresql.ds.PGConnectionPoolDataSource [javac] bad class file: /home/danap/development/pgjdbc/build/org/postgresql/ds/PGConnectionPoolDataSource.class [javac] class file has wrong version 50.0, should be 49.0 [javac] Please remove or make sure it appears in the correct subdirectory of the classpath. [javac] import org.postgresql.ds.PGConnectionPoolDataSource; [javac] ^ [javac] 1 error BUILD FAILED /home/danap/development/pgjdbc/build.xml:101: The following error occurred while executing this line: /home/danap/development/pgjdbc/build.xml:127: Compile failed; see the compiler error output for details. danap. Dave Cramer wrote: > Sure go ahead. > > BTW, I put jdk 1.8 on there as well, but it won't build due to an ant > error which requires ant 1.9. > > I haven't gotten around to updating that yet. > > Thanks! > > P.S. don't expect blazing speed from that instance. It is a micro > instance. I'm pretty sure screen is on there. You might be advised to > run the script inside screen. > > Dave Cramer > > dave.cramer(at)credativ(dot)ca > http://www.credativ.ca