Showing posts with label configuration. Show all posts
Showing posts with label configuration. Show all posts

Tuesday, June 15, 2010

externalize datasource settings

Although common practice, it is not so easy to find out how to externalize your settings in a good way. I found the solution in combination of two posts:

How the property file has to look like:
http://stackoverflow.com/questions/970133/externalizing-grails-datasource-configuration

How it should be included by grails:
http://phatness.com/2010/03/how-to-externalize-your-grails-configuration/comment-page-1/#comment-1484