Merge branch 'master' of git@github.com:jboner/akka
This commit is contained in:
commit
fe6fb1e7e8
1 changed files with 2 additions and 2 deletions
|
|
@ -43,7 +43,7 @@ object Config extends Logging {
|
|||
"\n\tdue to: " + e.toString)
|
||||
}
|
||||
Configgy.config
|
||||
} else if (getClass.getClassLoader.getResource("akka.conf") != null) {
|
||||
} else if (getClass.getClassLoader.getResource("/akka.conf") != null) {
|
||||
try {
|
||||
Configgy.configureFromResource("akka.conf", getClass.getClassLoader)
|
||||
log.info("Config loaded from the application classpath.")
|
||||
|
|
@ -74,7 +74,7 @@ object Config extends Logging {
|
|||
"\n\t3. Define 'AKKA_HOME' environment variable pointing to the root of the Akka distribution." +
|
||||
"\nI have no way of finding the 'akka.conf' configuration file." +
|
||||
"\nUsing default values everywhere.")
|
||||
CConfig.fromString("<akka></akka>")
|
||||
CConfig.fromString("<akka></akka>") // default empty config
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue