Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Apr 2015 07:41:36 +0100
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        "Mikhail T." <mi+thun@aldan.algebra.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: databases/mysql-connector-java: Looks broken to me
Message-ID:  <55237C20.7060406@FreeBSD.org>
In-Reply-To: <5522F796.10709@aldan.algebra.com>
References:  <20150401173142.1b36d256@rsbsd.rsb> <551C2260.5050904@freebsd.org> <55226070.1060909@FreeBSD.org> <55228EFF.6090904@aldan.algebra.com> <5522E5CF.3090902@FreeBSD.org> <5522F796.10709@aldan.algebra.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--40qwlfsHPvIjVM2BaeOkAkxSRKACqtL6j
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 2015/04/06 22:16, Mikhail T. wrote:
> On 04/06/15 16:00, Matthew Seaman wrote:
>> That might be possible, but it would result in dropping a serious
>> slice of functionality from the connector.
> Which functionality is it? If an old compiler is truly required at
> all, it can only be to generate code to run in an old JVM.
>=20
> Since FreeBSD stopped offering java-1.5 long ago, this can not
> possibly be a concern... And, of course, even a modern javac can be
> asked to generate 1.5-compatible byte code.
>=20
> None of these changes would be particularly /pleasant/ -- I,
> personally, am always revolted by the innards of a pom.xml or
> build.xml -- but they ought to be /possible/...

build.xml says this:

Compiling Connector/J
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Connector/J 5.1 supports both JDBC3 and JDBC4+ with a single code
base. This requires JDBC3 classes to be compiled with Java 5 and
JDBC4+ to be compiled with
Java 6.
The variables 'com.mysql.jdbc.jdk5' and 'com.mysql.jdbc.jdk6' are used
to find the respective compilers when building the driver. Side by side
with these, the variable 'com.mysql.jdbc.extra.libs' must point to the
location of third-party libraries that we don't distribute and are
required for
compiling. Further details can be found in
http://dev.mysql.com/doc/connector-j/en/connector-j-installing-source.htm=
l.

So anyone using JDBC3 would be disappointed by our chopping it out.  I
have precisely zero idea how many people that might be, or indeed how
much call there is for JDBC3 adaptors in general.

	Cheers,

	Matthew




--40qwlfsHPvIjVM2BaeOkAkxSRKACqtL6j
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJVI3wpAAoJEABRPxDgqeTn8x4P/RM264I+FqsAe1fdJtfFAPy5
T/69q1E3SGodPItVJIhgpGx2minXoN8kduEvN0U0vf84y4JLKxfypvvHI8/rj2lT
CGV4lTh8kblG/s+wZMJrhLMW0hNIcdVo+T4cS1B0dz+HOOzzDlNu4hk0LotVel3r
We8B9GKjW1v5GSBR0qikmgWRvh+OHfxfOTaYNDmprALsgm8e5ONC1irCXhi2cDCw
tuRsWMrt01mg1t1ANOq8EBsxL8FoStb4Fczy+5wYTC/vQ7riEZ9q+BLBdhWFk7L5
Jk7eaXMyMC8ChX/wlCnOEMkTOTRrvVyn4jYJkXdPgwsJj87aptpk27Fs4V527UWY
LYZ5CT0diEjXOAjiCAe0Ka9QUEpDeO0XX+n5TnG/RCMu84USkWEzlcgzQgATB5SK
vBnEUAYGmufhAsaiTCzRtCI2z9KYwgBfAAi6hXcuCY4GMaLdyrCBvtTscyuj1Imm
MlQfkhvSu/f05fGkjdQKFB04yBF5q4WAFXkdwznBG7rjGPNiQhaMIBkIGzU90HuK
wEkMBd1FXYIjY2MiVP7wEb5t6E7Aemr9wJ3o+XMOc74HxkLcDe/cYK5QicOPNTPf
FDU+o8ljijN/NkrGgA+Hu09dSPejAHO/7AKqPDN/3iaB2C92HByftyjNXibXVCDl
p/xeATiThJRVdCxQLWsb
=tjws
-----END PGP SIGNATURE-----

--40qwlfsHPvIjVM2BaeOkAkxSRKACqtL6j--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55237C20.7060406>