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