Showing posts with label local. Show all posts
Showing posts with label local. Show all posts

Wednesday, September 11, 2013

How to run a local plugin in Grails

grails.plugin.location.plugin_name = "C:\\pritom\\plugins\\grails_plugin"
Where plugin_name is the name of the plugin (not the name of the directory it's in). Make sure the path to the plugin is either an absolute path or the relative path to the plugin from the application.
I've found that this sometimes doesn't work if the plugin is listed in application.properties orBuildConfig.groovy, so if it is, remove it, then execute grails clean and restart the app.