我正在使用Grails发布插件,请参阅:http://grails.org/plugin/release,版本2.2.0将插件发布到本地存储库。
我想编写自己的Grails脚本,调用:publish-plugin
然后再做一些额外的操作。
我试试:
includeTargets << grailsScript("_GrailsInit")
includeTargets << grailsScript("_ReleasePlugins")
target(main: "This script packages the plugin and deletes any directories that are not needed and created by Grails") {
println(">>packageTypes()")
publishPlugin()
//...
}
setDefaultTarget(main)
我明白了:
| Error Error executing script PublishTypes: _ReleasePlugins (NOTE: Stack trace has been filtered. Use --verbose to see entire trace.)
java.lang.ClassNotFoundException: _ReleasePlugins
at java_lang_ClassLoader$loadClass.call(Unknown Source)
有什么想法吗?
由于