Bug#300753: Success libpgjava with free tools

Wolfgang Baer pkg-java-maintainers@lists.alioth.debian.org, 300753@bugs.debian.org
Sat Apr 2 14:24:13 2005


Hi all,

I just had success building libpgjava with free tools.
I was able to build a JDBC2 and JDBC3 (with SSL) version.

For the JDBC2 version I used the trick that source takes precedence
over compiled classes in the vm's jar. If jdbc2 interfaces as source
are included during compilation in the source path, the compiler
compiles first this one and then uses the resulting class files to
to compile the actual jdbc driver sources against it.

Therefore libpgjava can move to main !

I also filed a bug against libpgjava which must be resolved first.
Please see bug: libpgjava: JDBC2 jar contains a JDBC3 jdbc driver
(I don't have a bug number till now) and help me to figure this
out as I am not an CDBS expert.

Wolfgang