|
I'd like to use the release plugin features to outline a release procedure that comprises scm integration for a grails application (not a plugin).
I've tried both adding build ":release:2.0.4" to BuildConfig.groovy and installing the plugin from CLI but every time I gave the following command grails publish-pluginI always get the error message -------- | Error Error executing script PublishPlugin: : Plugin file not found for plugin project (NOTE: Stack trace has been filtered. Use --verbose to see entire trace.) : Plugin file not found for plugin project at org.apache.tools.ant.taskdefs.Exit.execute(Exit.java:164) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.codehaus.gant.GantBuilder.invokeMethod(GantBuilder.java:99) at _GrailsPluginDev_groovy$_run_closure1.doCall(_GrailsPluginDev_groovy:54) at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133) at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy:185) at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy) at org.codehaus.gant.GantBinding.withTargetEvent(GantBinding.groovy:90) at org.codehaus.gant.GantBinding.this$4$withTargetEvent(GantBinding.groovy) at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy:185) at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy) at org.codehaus.gant.GantMetaClass.processClosure(GantMetaClass.java:81) at org.codehaus.gant.GantMetaClass.processArgument(GantMetaClass.java:95) at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:128) at PublishPlugin$_run_closure1.doCall(PublishPlugin:62) at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133) at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy:185) at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy) at org.codehaus.gant.GantBinding.withTargetEvent(GantBinding.groovy:90) at org.codehaus.gant.GantBinding.this$4$withTargetEvent(GantBinding.groovy) at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy:185) at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy) at gant.Gant$_dispatch_closure5.doCall(Gant.groovy:381) at gant.Gant$_dispatch_closure7.doCall(Gant.groovy:415) at gant.Gant$_dispatch_closure7.doCall(Gant.groovy) at gant.Gant.withBuildListeners(Gant.groovy:427) at gant.Gant.this$2$withBuildListeners(Gant.groovy) at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source) at gant.Gant.dispatch(Gant.groovy:415) at gant.Gant.this$2$dispatch(Gant.groovy) at gant.Gant.invokeMethod(Gant.groovy) at gant.Gant.executeTargets(Gant.groovy:591) at gant.Gant.executeTargets(Gant.groovy:590) -------- while I thought the plugin would support releasing a war as the plugin readme says This plugin enables you to publish application WAR files and plugin packages (zip files) to Maven-compatible repositories I've tried both with grails 2.0.x and 2.1... almost certainly I'm missing something, but what ![]() |
|
> I'd like to use the release plugin features to outline a release procedure
> that comprises scm integration for a grails application (not a plugin). > I've tried both adding /build ":release:2.0.4"/ to /BuildConfig.groovy/ and > installing the plugin from CLI but every time I gave the following command The publish-plugin command is very much for plugins only. There is also maven-install and maven-deploy which work for Grails applications too. The Release plugin could do with a refactor (far too much code is in the scripts), so if you have ideas for what a publish command for applications would look like, raise a JIRA. Peter -- Peter Ledbrook Developer Advocate VMware t: @pledbrook --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
Hi Peter, I just filed http://jira.grails.org/browse/GPRELEASE-39
As I stated there some of the features I proposed are already supported when publishing grails plugins, while other are currently missing even for them: please let me know if it could be useful to file them separately into an ad-hoc issue. Cheers Davide |
| Powered by Nabble | Edit this page |
