Date: Mon, 15 Oct 2007 09:30:26 +0200 From: "Ronald Klop" <ronald-freebsd8@klop.yi.org> To: "Matthew Seaman" <m.seaman@infracaninophile.co.uk>, freebsd-java@freebsd.org Subject: Re: mysql-connector-java-5.1.5 Message-ID: <op.tz79s0w08527sy@guido.klop.ws> In-Reply-To: <47122E46.2080203@infracaninophile.co.uk> References: <47122E46.2080203@infracaninophile.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 14 Oct 2007 16:57:10 +0200, Matthew Seaman = <m.seaman@infracaninophile.co.uk> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > > Dear all, > > I'm trying to produce some patches to upgrade the > databases/mysql-connector-java port to the most recent GA version -- > 5.1.5. Unfortunately, things on the 5.1 branch are significantly > different to the 5.0 branch, and I'm running into a Catch 22 situation= . > > Compiling the part of the driver that provides JDBC3.0 functionality > (which is essentially the same as the 5.0 version of the driver) > works fine with diablo-jdk1.5. Compiling the part of the driver that > provides JDBC4.0 functionality however requires Java 6. Unfortunately= > though, compiling the JDBC3.0 code doesn't work with Java 6. It seems= > I need to have multiple java versions installed and to switch between > them for different targets from build.xml > > I can't see how to make this work with the bsd.java.mk setup in ports.= > If anyone cares to take a look, I've a copy of the port as a work > in progress at > > http://www.infracaninophile.co.uk/mysql-connector-java-5.1.5.tbz > > I have switched the preferences in the port so that the default is > to install the pre-compiled .jar file directly from the distfile. > In order to turn on the compilation step you now need to do: > > make -DWITH_COMPILE > > You'll need java/jdk16 installed for that. > > Any suggestions? Or should I just give up on trying to have the ports > system compile the driver? > > Cheers, > > Matthew > - -- > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate > Kent, CT11 9PW > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.4 (FreeBSD) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFHEi5F8Mjk52CukIwRCH19AJ9wGzI5C/oRm+yp+EyHLK0OhF12/wCglZ+7 > KWiPNsbIG0e18Mt9eZQZIog=3D > =3DAiW8 > -----END PGP SIGNATURE----- > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org= " Hello, There is a mysql-java mailinglist on which the creator of the driver is = = active. You could try asking this there also. Ronald. -- = Ronald Klop Amsterdam, The Netherlands
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.tz79s0w08527sy>