KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Just wondering what is the 'best practice' when adding config key-value pairs to your grails app. Should you just add to Config.groovy or create new files. I tried creating a new config file (Company.groovy) but could not access the config props from my app. However when I cup-paste the properties into Config.groovy I do have access to them.... This works fine but I dont want Config.groovy to get too large. Also another problem raised its head. While running Integration tests I found that the 'test' env did not have access to my new config properties (values were null). I must be doing something fundamentally wrong. Any advice would be appreciated. Thanks, D
Tags (comma-separated)
Save Edits
Cancel