[JCBC-216] buildinfo class is not packaged properly Created: 18/Jan/13  Updated: 18/Jan/13  Resolved: 18/Jan/13

Status: Resolved
Project: Couchbase Java Client
Component/s: None
Affects Version/s: 1.0.2, 1.0.3, 1.1.0
Fix Version/s: 1.1.1
Security Level: Public

Type: Bug Priority: Major
Reporter: Matt Ingenthron Assignee: Michael Nitschinger
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

The buildinfo class should be getting packaged properly.

$ java -jar build/jars/couchbase-client-1.1.0.jar
Exception in thread "main" java.lang.NoClassDefFoundError: com/couchbase/client/BuildInfo
Caused by: java.lang.ClassNotFoundException: com.couchbase.client.BuildInfo
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
$ jar -tvf build/jars/couchbase-client-1.1.0.jar | grep BuildInfo

Comment by Michael Nitschinger [ 18/Jan/13 ]
Comment by Michael Nitschinger [ 18/Jan/13 ]
michael@daschlbook ~/couchbase/couchbase-java-client $ java -jar build/jars/couchbase-client-1.1.0.jar
Couchbase Java Client 1.1.0

Tree Version: 1.1.0-13-g584a1f7
Last Commit ID: 584a1f70953bcd90d120a0ef500d1eb9f791e582

Compiled by michael@daschlbook.local on Fri Jan 18 09:33:37 CET 2013
Generated at Tue Nov 25 14:54:15 CST 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.