Grails如何引用开发中的插件
程序员文章站
2022-05-23 16:21:29
...
即使没有被安装,Grails也可以引用文件系统中的任何插件。具体方法是:在grails-app/conf/BuildConfig.groovy文件中增加:
通常在以下两种情形较为有用:
[list]
[*] 引用开发中的插件
[*] 使用Grails最佳实践-将应用划分为一组在“超级项目”下的“一组插件”
[/list]
// 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"
通常在以下两种情形较为有用:
[list]
[*] 引用开发中的插件
[*] 使用Grails最佳实践-将应用划分为一组在“超级项目”下的“一组插件”
[/list]
上一篇: 学习Queue看这篇就够了(源码分析)
推荐阅读
-
go开发中引用静态库.a文件的方法
-
在开发的过程中,如何最快的学好英文读更多的国外文档。看四级六级还是什么词汇还是自己边看边收集?
-
WP8.1程序开发中,如何加载本地文件资源或安装在程序包中的资源。
-
jquery 插件开发 extjs中的extend用法小结
-
实例详解django开发之settings.py中变量的全局引用
-
Jquery编程开发中可多选的下拉框如何实现?
-
react开发中如何使用require.ensure加载es6风格的组件
-
jQuery插件如何开发?Jquery插件的编写及使用分享
-
iOS中的集合该如何弱引用对象示例详解
-
iOS面试中如何优雅回答Block导致循环引用的问题