Permalink
Browse files

fixed wrong path in embedded repository

  • Loading branch information...
1 parent 6d6d815 commit 9bb152d3ded84d0af1a04f91f60a0fe330b39bd8 @jboner jboner committed Jul 29, 2009
@@ -117,6 +117,7 @@ object Kernel extends Logging {
private[akka] def startCassandra = if (config.getBool("akka.storage.cassandra.service", true)) {
System.setProperty("cassandra", "")
System.setProperty("storage-config", akka.Boot.CONFIG + "/")
+ println("------------------------- " + akka.Boot.CONFIG + "/")
CassandraStorage.start
}
@@ -59,8 +59,7 @@ class PersistentActor extends Actor {
object PersistenceManager {
@volatile var isRunning = false
def init = if (!isRunning) {
- System.setProperty("storage-config", "config")
- Kernel.boot
+ Kernel.startCassandra
isRunning = true
}
}
@@ -135,4 +134,4 @@ class PersistentActorSpec extends TestCase {
} catch {case e: RuntimeException => {}}
assertEquals("init", (stateful !! GetRefState).get) // check that state is == init state
}
-}
+}
@@ -1,2 +1,2 @@
#!/bin/sh
-sctags.sh -E -R . -f TAGS
+sctags.bat -E -R . -f TAGS

0 comments on commit 9bb152d

Please sign in to comment.