ReactiveCouchbase / ReactiveCouchbase-core

Core library for ReactiveCouchbase
Apache License 2.0
64 stars 28 forks source link

Update dependenicies #44

Closed behrad closed 9 years ago

behrad commented 9 years ago

I'm not able to pull both 0.2 and 0.3 versions in my scala 2.10.4, sbt 0.13 project:

[info] Resolving com.typesafe.play#play-iteratees_2.10;2.3.0 ...
[warn]  module not found: com.typesafe.play#play-iteratees_2.10;2.3.0
[warn] ==== local: tried
[warn]   /home/behrad/.ivy2/local/com.typesafe.play/play-iteratees_2.10/2.3.0/ivys/ivy.xml
[warn] ==== public: tried
[warn]   http://repo1.maven.org/maven2/com/typesafe/play/play-iteratees_2.10/2.3.0/play-iteratees_2.10-2.3.0.pom
[warn] ==== ConSol* Labs Repository: tried
[warn]   http://labs.consol.de/maven/repository/com/typesafe/play/play-iteratees_2.10/2.3.0/play-iteratees_2.10-2.3.0.pom
[warn] ==== ReactiveCouchbase Releases: tried
[warn]   https://raw.github.com/ReactiveCouchbase/repository/master/releases/com/typesafe/play/play-iteratees_2.10/2.3.0/play-iteratees_2.10-2.3.0.pom
[warn] ==== ReactiveCouchbase Snapshots: tried
[warn]   https://raw.github.com/ReactiveCouchbase/repository/master/snapshots/com/typesafe/play/play-iteratees_2.10/2.3.0/play-iteratees_2.10-2.3.0.pom
[info] Resolving com.typesafe.play#play-json_2.10;2.3.0 ...
[warn]  module not found: com.typesafe.play#play-json_2.10;2.3.0
[warn] ==== local: tried
[warn]   /home/behrad/.ivy2/local/com.typesafe.play/play-json_2.10/2.3.0/ivys/ivy.xml
[warn] ==== public: tried
[warn]   http://repo1.maven.org/maven2/com/typesafe/play/play-json_2.10/2.3.0/play-json_2.10-2.3.0.pom
[warn] ==== ConSol* Labs Repository: tried
[warn]   http://labs.consol.de/maven/repository/com/typesafe/play/play-json_2.10/2.3.0/play-json_2.10-2.3.0.pom
[warn] ==== ReactiveCouchbase Releases: tried
[warn]   https://raw.github.com/ReactiveCouchbase/repository/master/releases/com/typesafe/play/play-json_2.10/2.3.0/play-json_2.10-2.3.0.pom
[warn] ==== ReactiveCouchbase Snapshots: tried
[warn]   https://raw.github.com/ReactiveCouchbase/repository/master/snapshots/com/typesafe/play/play-json_2.10/2.3.0/play-json_2.10-2.3.0.pom
[info] Resolving org.aspectj#aspectjweaver;1.8.2 ...
[info] downloading https://raw.github.com/ReactiveCouchbase/repository/master/snapshots/org/reactivecouchbase/reactivecouchbase-core_2.10/0.3-SNAPSHOT/reactivecouchbase-core_2.10-0.3-SNAPSHOT.jar ...
[info]  [SUCCESSFUL ] org.reactivecouchbase#reactivecouchbase-core_2.10;0.3-SNAPSHOT!reactivecouchbase-core_2.10.jar (28409ms)
[info] downloading http://repo1.maven.org/maven2/com/couchbase/client/couchbase-client/1.4.4/couchbase-client-1.4.4.jar ...
[info]  [SUCCESSFUL ] com.couchbase.client#couchbase-client;1.4.4!couchbase-client.jar (13005ms)
[info] downloading http://repo1.maven.org/maven2/ch/qos/logback/logback-classic/1.1.1/logback-classic-1.1.1.jar ...
[info]  [SUCCESSFUL ] ch.qos.logback#logback-classic;1.1.1!logback-classic.jar (10346ms)
[info] downloading http://repo1.maven.org/maven2/com/ning/async-http-client/1.8.14/async-http-client-1.8.14.jar ...
[info]  [SUCCESSFUL ] com.ning#async-http-client;1.8.14!async-http-client.jar (19088ms)
[info] downloading http://repo1.maven.org/maven2/net/spy/spymemcached/2.11.4/spymemcached-2.11.4.jar ...
[info]  [SUCCESSFUL ] net.spy#spymemcached;2.11.4!spymemcached.jar (18037ms)
[info] downloading http://repo1.maven.org/maven2/ch/qos/logback/logback-core/1.1.1/logback-core-1.1.1.jar ...
[info]  [SUCCESSFUL ] ch.qos.logback#logback-core;1.1.1!logback-core.jar (16712ms)
[info] downloading http://repo1.maven.org/maven2/io/netty/netty/3.9.2.Final/netty-3.9.2.Final.jar ...
[info]  [SUCCESSFUL ] io.netty#netty;3.9.2.Final!netty.jar(bundle) (48658ms)
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: com.typesafe.play#play-iteratees_2.10;2.3.0: not found
[warn]  :: com.typesafe.play#play-json_2.10;2.3.0: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
sbt.ResolveException: unresolved dependency: com.typesafe.play#play-iteratees_2.10;2.3.0: not found
unresolved dependency: com.typesafe.play#play-json_2.10;2.3.0: not found
mathieuancelin commented 9 years ago

With scala 2.10.x you can only use 0.2

behrad commented 9 years ago

Adding typesafe repo "Typesafe Maven Repository" at "http://repo.typesafe.com/typesafe/maven-releases/" fixed it, I'm using "org.reactivecouchbase" %% "reactivecouchbase-core" % "0.3-SNAPSHOT"

would it create a problem !?

May I also ask, if reactivecouchbase has any API so that I can inplace-update one of my keys? (don't wanna round-trip of getting, merging, updating)

mathieuancelin commented 9 years ago

0.3 is not supposed to work with scala 2.10.x

You can use the replace proposed by Couchbase (and available in ReactiveCouchbase) but it's a dumb replace, it won't merge anything and just replace the value.

Couchbase does not see documents as documents until it's for search through views.

behrad commented 9 years ago

thank you @mathieuancelin , with Couchbase 3.0.0 I think I should use 0.3 (right!?) so I need to upgrade to scala 2.11.x

mathieuancelin commented 9 years ago

0.3 should work with Couchbase 3.0

And yes you should definitively upgrade to Scala 2.11 ;-)

behrad commented 9 years ago

@mathieuancelin Are getBulk and CAS operations removed from Couchbase 3.0 on? I didn't find any clue here or there

mathieuancelin commented 9 years ago

I don't think so. And if it's the case, that's weird