Why doesn't the Java SDK contain the ComplexKey class?
I've noticed on github a ComplexKey was added:
https://github.com/couchbase/couchbase-java-client/commit/2178868be2bd32...
...which now allow you to query with a keys array. I really need this for my project, so I downloaded 1.1-dp3 via ivy expecting to get it but it's not in there.
Any ideas when this is landing or if I should and actually can build the github version for now?
Derek.
We're planning to ship an update with the ComplexKey class before the end of this week.
Thanks for the heads up guys... Unfortunately I'm having a number of issues trying to build this on my machine. I have maven setup and my maven projects build fine, but I've just installed Ant and I get a number of errors on building the project. They look more environment specific but I haven't found a solution, so I might wait until you release the next version if it's this week anyway.
Cheers,
Derek.
The github project contains the latest code for the Java SDK and we cut releases from that project. The ComplexKey class will be included included in the next release. You can build the latest code, but you will also need to checkout the latest Spymemcached code since we have a dependency on that project.
All you need to do to build is run 'ant mvn-install' in the spymemcached project directory. Then update the version number for Spymemcached in the CouchbaseClient project to match the version of Spymemcached that you just installed in maven. This can be done in the ivy/libraries.properties file. The just run 'ant package' to create a jar of the CouchbaseClient project or 'ant mvn-install' to create and install that jar to maven.