Grails 1.1.1 and plugin release problems

Creating plug-in in Grails is easy, but it releasing is not. When I was trying to release my Burning Image plug-in I was hit with two problems. First was "svn: Authentication required" :

Importing project to https://svn.codehaus.org/grails-plugins/grails-burning-image. Please wait...
org.tmatesoft.svn.core.SVNAuthenticationException: svn: Authentication required for ' grails-plugins primary Subversion repository

To work around this problem just add file setting.groovy into your ~/.grails/ directory and add this lines:

grails.plugin.repos.discovery.grailsplugins="https://svn.codehaus.org:443/grails-plugins"
grails.plugin.repos.distribution.grailsplugins="https://svn.codehaus.org:443/grails-plugins"

Now you should be asked about yours credentials after executing:

grails release-plugin "-repository=grailsplugins"

Second problem was error:

Error executing script ReleasePlugin: groovy.lang.MissingMethodException: No signature of method: _PluginDependencies_groovy$_run_closure2.doCall() is applicabl
e for argument types: (java.lang.Boolean, java.lang.String) values: [true, distribution]
gant.TargetExecutionException: groovy.lang.MissingMethodException: No signature of method: _PluginDependencies_groovy$_run_closure2.doCall() is applicable for a
rgument types: (java.lang.Boolean, java.lang.String) values: [true, distribution]
        at gant.Gant$_dispatch_closure4.doCall(Gant.groovy:331)
        at gant.Gant$_dispatch_closure6.doCall(Gant.groovy:334)
        at gant.Gant$_dispatch_closure6.doCall(Gant.groovy)
        at gant.Gant.withBuildListeners(Gant.groovy:344)
        at gant.Gant.this$2$withBuildListeners(Gant.groovy)
        at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source)
        at gant.Gant.dispatch(Gant.groovy:334)
        at gant.Gant.this$2$dispatch(Gant.groovy)
        at gant.Gant.invokeMethod(Gant.groovy)
        at gant.Gant.processTargets(Gant.groovy:495)
        at gant.Gant.processTargets(Gant.groovy:480)
Caused by: groovy.lang.MissingMethodException: No signature of method: _PluginDependencies_groovy$_run_closure2.doCall() is applicable for argument types: (java
.lang.Boolean, java.lang.String) values: [true, distribution]
        at ReleasePlugin$_run_closure3.doCall(ReleasePlugin.groovy:75)
        at ReleasePlugin$_run_closure1.doCall(ReleasePlugin.groovy:42)
        at gant.Gant$_dispatch_closure4.doCall(Gant.groovy:324)
        ... 10 more

It occurs when I try to execute release plug-in command like this:

grails release-plugin -repository=grailsplugins

Just add " like previously and all should go smoothly.

No Comments yet

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Powered by WordPress with GimpStyle Theme design by Horacio Bella.
Entries and comments feeds. Valid XHTML and CSS.