-
Notifications
You must be signed in to change notification settings - Fork 967
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Quick documentation on using CONF file external to a JAR #84
Comments
I think you just want |
Thank you! That is it! :)
Regards, Ivan Gozali On Wed, Sep 11, 2013 at 5:54 AM, Havoc Pennington
|
@havocp - The above doesn't work for me. I have an app packaged with sbt-assembly. Is there a way to still pass in an external config? |
Should be the same. Maybe ask on stackoverflow, that's a better place for support since it's easier for others to help and easier for future searches to find. I would include though what you are trying exactly, and exactly what goes wrong. The usual problem with sbt-assembly is that filename collisions cause some of the .conf files to be lost from the combined jar. There should be nothing different about an sbt-assembly app unless that has happened. |
I don't think there's a feature for loading a directory; you'd have to do something like make a .conf file that includes everything in the directory |
Hi guys,
I've been scratching my head and trying to find documentation on how to do this.
Basically, I have a standalone, executable JAR which contains a
reference.conf
in itssrc/main/resource
folder.I want to be able to pass in an
application.conf
that is external to this JAR and overrides theresource.conf
.Here's some examples of how I think I should be doing it:
It would be great if you can help me with this, or provide documentation on how to do this, since this seems like something a lot of people might want to do?
Thanks in advance!
The text was updated successfully, but these errors were encountered: