Re: [akka-user] Re: Akka config to include "common.conf" programmatically

2015-11-10 Thread Guido Medina
Just to let you know guys that I was able to make this work like charm using the following: static.conf is a placeholder that need to be resolve later, it includes common.conf: include "common.conf" akka.remote.netty.tcp { hostname = ${engine.admin.hostname} port = ${engine.admin.port} }

Re: [akka-user] Re: Akka config to include "common.conf" programmatically

2015-10-29 Thread Guido Medina
I tried renaming "common.conf" to "application.conf" but the thing is that I'm not making a fat jar so the side effect you were expecting is not happening, it would at been a nice trick though, it is not a big deal to add *include "common"*, common.jar is one dependency of the project, we avoid

Re: [akka-user] Re: Akka config to include "common.conf" programmatically

2015-10-29 Thread Viktor Klang
make the common.conf the application.conf and then load the externally provided config with ConfigFactory.load? On Thu, Oct 29, 2015 at 5:03 PM, Guido Medina wrote: > I tried using withFallback(...) which has different semantics and > behavior, I need something that emulates include programmatic

[akka-user] Re: Akka config to include "common.conf" programmatically

2015-10-29 Thread Guido Medina
I tried using withFallback(...) which has different semantics and behavior, I need something that emulates include programmatically. On Thursday, October 29, 2015 at 2:31:59 PM UTC, Guido Medina wrote: > > Hi, > > I have the following configuration which works fine but because we are > externali