Friday, June 14, 2013

Using Grails external config can only override values in the original Config.groovy?

When using an external config for a Grails 1.3.7 application, it appears that you are actually overriding properties defined in the project's /grails-app/conf files (like Config.groovy, DataSource.groovy). So if a given property exists but isn't explicitly initialized to some default value (such as connection pool sizing parameters in DataSource.groovy) you can't even set their values in the external config - or at least, that has been my experience.

No comments :

Post a Comment