In Grails, there is a variant how to include local plugin from sources. According to docs, one may type in BuildConfig.groovy
:
// Useful to test plugins you are developing.
grails.plugin.location.shiro =
"/home/dilbert/dev/plugins/grails-shiro"
// Useful for modular applications where all plugins and
// applications are in the same directory.
grails.plugin.location.'grails-ui' = "../grails-grails-ui"
The problem is that it doesn't work in Grails 2.0.RC1. I've tried to do grails clean
, to install plugin with grails install-plugin
and to place it to BuildConfig.groovy
. Still unable to resolve.
BuildConfig
route, with 2.0RC1 and it seems to work fine... You are doing one or the other aren't you? Notgrails install-plugin
AND placing it inBuildConfig.groovy
at the same time? – Onetimegrails.plugin.location.*
line you just shouldn't install plugin at all. Just type this lint inBuildConfig.groovy
and dograils run-app
! – Googins