 |
MySQLTalk.org MYSQL discussions groups
|
| View previous topic :: View next topic |
| Author |
Message |
Zachary Mitchell, BCIS Guest
|
Posted: Sun Nov 30, 2008 11:13 am Post subject: Question as regard MySql/J for Java and javadoc documentatio |
|
|
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?
Many Thanks! |
|
| Back to top |
|
 |
Matthew Seaman Guest
|
Posted: Sun Nov 30, 2008 4:49 pm Post subject: Re: Question as regard MySql/J for Java and javadoc document |
|
|
Zachary Mitchell, BCIS wrote:
| Quote: | 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 |
|
| Back to top |
|
 |
Mark Matthews Guest
|
Posted: Tue Dec 02, 2008 11:00 am Post subject: Re: Question as regard MySql/J for Java and javadoc document |
|
|
On Nov 29, 2008, at 11:01 PM, Zachary Mitchell, BCIS wrote:
| Quote: | 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?
Many Thanks!
|
Zachary,
Connector/J implements the JDBC API, so essentially, the javadocs for
that API already are available with your JDK.
Anything that exists outside the scope of that API is generally
performed via configuration, not method calls.
Is there anything in particular you're expecting to see in javadocs
for the driver that wouldn't be in the javadocs for the API itself?
-Mark
--
Mark Matthews, Architect - Enterprise Tools
MySQL @ Sun Microsystems, Inc., http://www.sun.com/mysql/ |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|