Another way to put this: yeah, you can do this, but you’ll have to use a suitable ClassLoader implementation that you control :-)
> 31 maj 2017 kl. 09:17 skrev Richard Ney <kamisama....@gmail.com>: > > Kinda suspected that would be your answer 😎 > > Sent from my iPhone > > On May 30, 2017, at 11:22 PM, Patrik Nordwall <patrik.nordw...@gmail.com > <mailto:patrik.nordw...@gmail.com>> wrote: > >> 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 <kamisama....@gmail.com >> <mailto:kamisama....@gmail.com>>: >> 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/ <http://akka.io/docs/> >> >>>>>>>>>> Check the FAQ: >> >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >> >>>>>>>>>> <http://doc.akka.io/docs/akka/current/additional/faq.html> >> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user >> >>>>>>>>>> <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 akka-user+unsubscr...@googlegroups.com >> <mailto:akka-user+unsubscr...@googlegroups.com>. >> To post to this group, send email to akka-user@googlegroups.com >> <mailto:akka-user@googlegroups.com>. >> Visit this group at https://groups.google.com/group/akka-user >> <https://groups.google.com/group/akka-user>. >> For more options, visit https://groups.google.com/d/optout >> <https://groups.google.com/d/optout>. >> >> -- >> >>>>>>>>>> Read the docs: http://akka.io/docs/ <http://akka.io/docs/> >> >>>>>>>>>> Check the FAQ: >> >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >> >>>>>>>>>> <http://doc.akka.io/docs/akka/current/additional/faq.html> >> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user >> >>>>>>>>>> <https://groups.google.com/group/akka-user> >> --- >> You received this message because you are subscribed to a topic in the >> Google Groups "Akka User List" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/akka-user/il1bivoUm68/unsubscribe >> <https://groups.google.com/d/topic/akka-user/il1bivoUm68/unsubscribe>. >> To unsubscribe from this group and all its topics, send an email to >> akka-user+unsubscr...@googlegroups.com >> <mailto:akka-user+unsubscr...@googlegroups.com>. >> To post to this group, send email to akka-user@googlegroups.com >> <mailto:akka-user@googlegroups.com>. >> Visit this group at https://groups.google.com/group/akka-user >> <https://groups.google.com/group/akka-user>. >> For more options, visit https://groups.google.com/d/optout >> <https://groups.google.com/d/optout>. > > -- > >>>>>>>>>> Read the docs: http://akka.io/docs/ <http://akka.io/docs/> > >>>>>>>>>> Check the FAQ: > >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html > >>>>>>>>>> <http://doc.akka.io/docs/akka/current/additional/faq.html> > >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user > >>>>>>>>>> <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 akka-user+unsubscr...@googlegroups.com > <mailto:akka-user+unsubscr...@googlegroups.com>. > To post to this group, send email to akka-user@googlegroups.com > <mailto:akka-user@googlegroups.com>. > Visit this group at https://groups.google.com/group/akka-user > <https://groups.google.com/group/akka-user>. > For more options, visit https://groups.google.com/d/optout > <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 akka-user+unsubscr...@googlegroups.com. To post to this group, send email to akka-user@googlegroups.com. Visit this group at https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.