Grails

Release of new plugin causes fatal error

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Blocker Blocker
  • Resolution: Fixed
  • Affects Version/s: 1.2 final
  • Fix Version/s: 1.2.1
  • Component/s: Plugins
  • Labels:
    None

Description

Upon doing grails release-plugin with a new plugin I get the following error message:

[unzip] Expanding: /Users/willy/Documents/CodehausSVN/social-bookmarks/grails-social-bookmarks-0.2.zip into /Users/willy/Documents/CodehausSVN/social-bookmarks/unzipped
[copy] Copying 1 file to /Users/willy/Documents/CodehausSVN/social-bookmarks/unzipped
: /Users/willy/Documents/CodehausSVN/social-bookmarks/test/test not found.
at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:434)
at org.apache.tools.ant.taskdefs.Copy.execute(Copy.java:431)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at ReleasePlugin$_run_closure9.doCall(ReleasePlugin.groovy:423)
at ReleasePlugin$_run_closure4.doCall(ReleasePlugin.groovy:158)
at ReleasePlugin$_run_closure1.doCall(ReleasePlugin.groovy:47)
at gant.Gant$_dispatch_closure4.doCall(Gant.groovy:324)
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)
Error occurred with release-plugin: /Users/willy/Documents/CodehausSVN/social-bookmarks/test/test not found.

Issue Links

Activity

Hide
Björn Wilmsmann added a comment -

This patched ReleasePlugin.groovy script fixes this issue

Show
Björn Wilmsmann added a comment - This patched ReleasePlugin.groovy script fixes this issue
Hide
Marc Palmer added a comment -

I'm also experiencing this

Show
Marc Palmer added a comment - I'm also experiencing this
Hide
Marc Palmer added a comment -

Guy's I've bumped this to 1.2.1 and Blocker if that's ok? Its chronic if you can't release a plugin without a hacked script.

Show
Marc Palmer added a comment - Guy's I've bumped this to 1.2.1 and Blocker if that's ok? Its chronic if you can't release a plugin without a hacked script.

People

Vote (1)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: