You should never try to override properties defined in one reference.conf
in another reference.conf. The order is undefined and you will not know
what you are running. In other words, Akka properties should be defined in
application.conf, never in reference.conf outside Akka.

The purpose of reference.conf is for a library to define default values.
One library cannot override default values of another library.

/Patrik
ons 31 maj 2017 kl. 03:03 skrev Richard Ney <[email protected]>:

> We have a project that's composed of 5 different SBT projects. All of the
> SBT projects originally pulled a common library so it was built with each
> component and contained some common classes and reference.conf files. In
> our latest revision we've pulled the common library out into a separate
> build with the library getting published and pulled from a Nexus repository.
>
> After changing the reference in the SBT projects so it pulls from Nexus
> we've noticed that the default values inside our reference.conf files
> aren't getting pulled. The easiest example was akka.actor.provider is
> specified in reference.conf inside our common-cluster-model-1.1.0-M3.jar
> file but I've had to include this inside the main application's
> application.conf to get the application to start up.
>
> -Richard
>
> --
> >>>>>>>>>> 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 https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
>>>>>>>>>>      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 https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to