Re: 9.1-903 JDBC 3 Download

Поиск
Список
Период
Сортировка
От dmp
Тема Re: 9.1-903 JDBC 3 Download
Дата
Msg-id 5093F7F9.9030203@ttc-cmc.net
обсуждение исходный текст
Ответ на Re: 9.1-903 JDBC 3 Download  (Dave Cramer <pg@fastcrypt.com>)
Ответы Re: 9.1-903 JDBC 3 Download  (dmp <danap@ttc-cmc.net>)
Список pgsql-jdbc
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


В списке pgsql-jdbc по дате отправления:

Предыдущее
От: "Mike Fowler"
Дата:
Сообщение: Re: Buildfarm test failure
Следующее
От: dmp
Дата:
Сообщение: Re: 9.1-903 JDBC 3 Download