THRIFT-262. java: Generate Javadocs for library classes
authorBryan Duxbury <bryanduxbury@apache.org>
Fri, 20 Mar 2009 16:43:06 +0000 (16:43 +0000)
committerBryan Duxbury <bryanduxbury@apache.org>
Fri, 20 Mar 2009 16:43:06 +0000 (16:43 +0000)
commit32e04b423d01e3d37ab72685407313da6a4416f6
tree3091f1c09ac25f56ad756765a0aced540ae18fc0
parentfc30667671cfb9c1adbf03a797952d52d3d6f21a
THRIFT-262. java: Generate Javadocs for library classes

This patch adds a 'javadoc' Ant target, and installs the documentation to ${docdir}/thrift/java (/usr/local/share/doc/thrift/java with the default invocation of configure). It also fixes a few Javadoc warnings in the source code.

It also modifies the 'dist' target to include the Java sources in the jar file, so that Eclipse may show the javadocs for Thrift classes automatically (this increases the size of libthrift.jar from 90 Kb to 155 Kb).

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@756603 13f79535-47bb-0310-9956-ffa450edef68
lib/java/Makefile.am
lib/java/build.xml
lib/java/src/org/apache/thrift/TDeserializer.java
lib/java/src/org/apache/thrift/server/THsHaServer.java
lib/java/src/org/apache/thrift/transport/TTransportFactory.java