首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网络技术 > 网络基础 >

Grails怎么引用开发中的插件

2012-06-29 
Grails如何引用开发中的插件即使没有被安装,Grails也可以引用文件系统中的任何插件。具体方法是:在grails-a

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最佳实践-将应用划分为一组在“超级项目”下的“一组插件”

热点排行