-
Notifications
You must be signed in to change notification settings - Fork 436
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
Allow extra configuration file #259
Conversation
In order to override some configuration settings, we can now specify an additional configuration location using the Java system properties ``ice.config.location`` which points to another configuration file location. Otherwise, the only way to set custom configuration parameters is by overriding this while Config.groovy file.
Thanks for contributing! Can you update the README with a description of the new parameter? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
README update is needed
@NitriKx That should be better now :) |
README.md
Outdated
|
||
If you need to setup custom Grails settings, you can specify an additional configuration file to be loaded by Grails by setting the ``ice.config.location`` system property to the location of that file. | ||
|
||
See http://docs.grails.org/2.3.7/guide/single.html#configExternalized for more information. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be replaced with http://docs.grails.org/2.4.4/guide/single.html#configExternalized (as we use 2.4.4 in Ice)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, sorry I missed that!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect! Thanks
In order to override some configuration settings, we can now specify an
additional configuration location using the Java system properties
ice.config.location
which points to another configuration filelocation.
Otherwise, the only way to set custom configuration parameters is by
overriding this while Config.groovy file.