Grails如何引用开发中的插件
即使没有被安装,Grails也可以引用文件系统中的任何插件。具体方法是:在grails-app/conf/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"
通常在以下两种情形较为有用:
- 引用开发中的插件
- 使用Grails最佳实践-将应用划分为一组在“超级项目”下的“一组插件”
相关推荐
hooopo 2014-07-12
80447518 2014-06-18
purpen 2014-05-23
jackyzhuyuanlu 2015-02-12
龙浩然 2015-11-06
daociyiyou 2016-11-07
coderbx 2013-03-11
yehell 2012-04-24
yeyedeyatou 2011-08-04
Ben的程序员生涯 2011-04-29
jieren 2010-02-18
carpenterworm 2009-04-03
trapeze 2008-06-06
掘井之路 2019-07-01