This code snippet shows how to update project Configuration settings from a Grails Plugin executable script. The script changes the configuration by copying the settings from a default config file, placed in the plugin's folder, to the Config.groovy. This is usually very useful during a plugin installation when you need to provide some default configuration:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
|
This post first appeared on Programming | SysGears - Custom Software, please read the originial post: here