pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: dmp <danap@ttc-cmc.net>
To: Dave Cramer <pg@fastcrypt.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: 9.1-903 JDBC 3 Download
Date: Fri, 02 Nov 2012 10:42:33 -0600
Message-ID: <5093F7F9.9030203@ttc-cmc.net> (raw)
In-Reply-To: <CADK3HH+DBDLoHOr_aV6xQa1FiRcZitPFcT-MfmhcykOoYjcQyA@mail.gmail.com>
References: <50898530.8010401@ttc-cmc.net>
	<CADK3HH+gvS+YxrWdwPesAwxXFnRthdJBQahE4ehiy-Nh_c=LOw@mail.gmail.com>
	<508AAB5E.8090505@ttc-cmc.net>
	<50931D4F.2080203@ttc-cmc.net>
	<CADK3HH+DBDLoHOr_aV6xQa1FiRcZitPFcT-MfmhcykOoYjcQyA@mail.gmail.com>

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




view thread (24+ messages)  latest in thread

Message-ID: <5093F7F9.9030203@ttc-cmc.net>
Permalink:  ../5093F7F9.9030203@ttc-cmc.net/
Also on:    postgresql.org/message-id/5093F7F9.9030203@ttc-cmc.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: danap@ttc-cmc.net, pg@fastcrypt.com
  Subject: Re: 9.1-903 JDBC 3 Download
  In-Reply-To: <5093F7F9.9030203@ttc-cmc.net>
  References: <50898530.8010401@ttc-cmc.net> <CADK3HH+gvS+YxrWdwPesAwxXFnRthdJBQahE4ehiy-Nh_c=LOw@mail.gmail.com> <508AAB5E.8090505@ttc-cmc.net> <50931D4F.2080203@ttc-cmc.net> <CADK3HH+DBDLoHOr_aV6xQa1FiRcZitPFcT-MfmhcykOoYjcQyA@mail.gmail.com> <5093F7F9.9030203@ttc-cmc.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox