fixed wrong path in embedded repository

This commit is contained in:
Jonas Boner 2009-07-29 17:01:13 +02:00
parent 6d6d815f56
commit 9bb152d3de
5 changed files with 4 additions and 4 deletions

View file

@ -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
}

View file

@ -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
}
}
}

View file

@ -1,2 +1,2 @@
#!/bin/sh
sctags.sh -E -R . -f TAGS
sctags.bat -E -R . -f TAGS