Building PostgreSQL with Java

Поиск
Список
Период
Сортировка
От Dave Jarvis
Тема Building PostgreSQL with Java
Дата
Msg-id 3EA4DA05.5020804@joot.com
обсуждение исходный текст
Список pgsql-docs
Hi,

I've only skimmed through the documentation, and in that skimming I did
not see a very important piece of information:

If you are upgrading to a new version of PostgreSQL on a machine that
already has the JDBC drivers for PostgreSQL available, be sure to REMOVE
THE OLD JAR FILE before attempting to compile PostgreSQL.  This means
both CLASSPATH and the jre/lib/ext directory. Otherwise the ant build
process will use the classes floating around in the postgresql.jar file,
resulting in a new jar file that lacks many crucial classes.

Intuitively, I would have thought the compilation process would have
forced all files to be recompiled, regardless of whatever is sitting on
the classpath (or within $JAVA_HOME/jre/lib/ext).  Boy, was I wrong!
Would have saved me at least twenty minutes of Google'ing.

Sincerely,
Dave Jarvis


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

Предыдущее
От: "Matthew T. O'Connor"
Дата:
Сообщение: Outdated Link
Следующее
От: Dollar $
Дата:
Сообщение: replacing a word in a column