Hi,

I am working on an application that has an application.conf file (under 
src/main/resources) with some application-specific configuration. When I 
build (package) the application, the application.conf gets copied into the 
JAR file and Akka loads it as expected (using ConfigFactory.load()).

But now I want to override the default configuration with one provided in a 
file. I tried placing another application.conf file on my classpath (same 
directory my JAR is in), but it didn't work. I tried renaming the "default" 
configuration file to reference.conf, but that didn't seem to work either.

I also tried using the config.file property, but then it requires the file 
be present, and doesn't load the default provided configuration. Any 
suggestions?

Thanks,
Tal

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to