The java library was moved in 6.1 during the integration for maven. The lib is now located at lib/java/build/libthrift-0.7.0-snapshot.jar after building. If a release flag is set then the -snapshot will not get appended. I've updated the readme to reflect these changes. If you have any trouble with this please let me know
Jake On Jul 23, 2011, at 6:42 PM, Gautam Thaker wrote: > I was able to build thrift-0.6.1 on Fedora 15 without any errors. I have > run the "cpp" tutorial extensively. But I can't build the java tutorial. > The README says to check for libthrift.jar, but one was not build when i > built jar. The "jar" files that I do have are: > > > /tmp/thrift-0.6.1/lib/java/build/libthrift-0.6.1-snapshot-javadoc.jar > /tmp/thrift-0.6.1/lib/java/build/tools/maven-ant-tasks-2.1.3.jar > /tmp/thrift-0.6.1/lib/java/build/libthrift-0.6.1-snapshot.jar > /tmp/thrift-0.6.1/lib/java/build/lib/commons-codec-1.3.jar > /tmp/thrift-0.6.1/lib/java/build/lib/slf4j-api-1.5.8.jar > /tmp/thrift-0.6.1/lib/java/build/lib/junit-4.4.jar > /tmp/thrift-0.6.1/lib/java/build/lib/httpcore-4.0.1.jar > /tmp/thrift-0.6.1/lib/java/build/lib/commons-lang-2.5.jar > /tmp/thrift-0.6.1/lib/java/build/lib/log4j-1.2.14.jar > /tmp/thrift-0.6.1/lib/java/build/lib/slf4j-log4j12-1.5.8.jar > /tmp/thrift-0.6.1/lib/java/build/lib/httpclient-4.0.1.jar > /tmp/thrift-0.6.1/lib/java/build/lib/commons-logging-1.1.1.jar > /tmp/thrift-0.6.1/lib/java/build/lib/servlet-api-2.5.jar > > > which does not include "libthrift.jar" that is mentioned in the README > below. > > Any hints welcome. > > Gautam > > > Steps for Java tutorial > ================================================== > > 1) Make sure thrift is compiled, both the compiler and the Java library. > You should > be able to verify the following: > > thrift/tutorial/java$ file ../../lib/java/libthrift.jar > ../../lib/java/libthrift.jar: Zip archive data, at least v1.0 to extract
