Bug #34581 Connector/J source files has some invalid file names
Submitted: 15 Feb 2008 9:21 Modified: 18 Feb 2008 12:18
Reporter: Jan Berg Email Updates:
Status: Closed Impact on me:
Category:Connector / J Severity:S3 (Non-critical)
Version:5.1.5 OS:Solaris
Assigned to: CPU Architecture:Any

[15 Feb 2008 9:21] Jan Berg
I have downloaded the mysql-connector-java-5.1.5.tar.gz file and unzipped/untared it. I'm trying to compile the source files, and run, but for some of the Exception java files they are missing their ending in the name. One example:
x mysql-connector-java-5.1.5/src/com/mysql/jdbc/exceptions/jdbc4/MySQLIntegrityConstraintViolationExce

Seems like packaging problem. The included jar file has correct classes with it, this problem is only for the source files. 

How to repeat:
Unzip and untar the mysql-connector-java-5.1.5.tar.gz file. You will see some of them has incorrect names.
[15 Feb 2008 14:24] Mark Matthews
That sounds like a common bug with Solaris tar and long file names. Are you using Solaris tar, or GNU tar? If you can't use GNU tar, you could download the .zip version of the driver (it's the same sources), and use "jar" to unzip it.
[18 Feb 2008 12:18] Jan Berg
I was using Solaris tar, which seems to be the problem.
Thanks for helping.