Re: Question as regard MySql/J for Java and javadoc documentation.

Matthew Seaman <[email protected]> Sun, 30 Nov 2008 10:49:15 +0000
Newsgroups gmane.comp.db.mysql.java
Organization Infracaninophile
Message-ID <[email protected]>
Zachary Mitchell, BCIS wrote:
> Could someone please direct me/point me in the direction I should go to either download a zipped file with the javadoc
> 
> for MySqlConnector/J 5.1.7, or at least tell me what the javadoc command is to create that documentation, outside of
> 
> the src directory of the Connector's java source code?

I'm not sure exactly what you mean by that.  In order to create javadocs
you definitely need the .java sources.  In the FreeBSD port (that I maintain)
we just run:

            ${JAVADOC} -quiet -breakiterator      \
                -d ${JAVADOCDIR} -package         \
                -classpath  ${JDCLASSPATH}        \
                 com.mysql.jdbc org.gjt.mm.mysql)
    
Where the variables evaluate to the following on my machine:

% make -V JAVADOC -V JAVADOCDIR -V JDCLASSPATH 
/usr/local/jdk1.6.0/bin/javadoc
/usr/ports/databases/mysql-connector-java/work/mysql-connector-java-5.1.7/javadoc
/usr/ports/databases/mysql-connector-java/work/mysql-connector-java-5.1.7/src:/usr/ports/databases/mysql-connector-java/work/mysql-connector-java-5.1.7/src/lib/jdbc2_0-stdext.jar:/usr/ports/databases/mysql-connector-java/work/mysql-connector-java-5.1.7/src/lib/jta-spec1_0_1.jar:

If you want the precompiled Javadocs then you can download the
mysql-connector-java package from:

    ftp://ftp.freebsd.org/pub/FreeBSD/ports/packages/All/mysql-connector-java-5.1.7.tbz

The format is just a bzip2 compressed tar which you should be able to
extract on anything Unixoid without to much difficulty.  Javadocs are
under: share/doc/mysql-connector-java/javadoc within the package.

	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
signature.asc (application/pgp-signature, 258 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREIAAYFAkkyb7IACgkQ8Mjk52CukIypKgCcDoy3aPpzegQSy1doX8blj+R9
fZcAnjRj1xNwLqQ4JpJxOVWAi0te8gnh
=kHuw
-----END PGP SIGNATURE-----