Grails

release-plugin complaning "Error occurred with release-plugin: svn: Path '/grails-plugins/grails-cas-client/trunk/scripts' already exists"

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Won't Fix
  • Affects Version/s: 1.0
  • Fix Version/s: 1.0.2
  • Component/s: Project infrastructure
  • Labels:
    None
  • Environment:
    linux fedora core 3

Description

I was using "grails release-plugin" to release/upload a new version of cas client plugin whose previous version was 0.2. The error message I got was as below,

Please enter your SVN username:
HIDDEN
Please enter your SVN password:
HIDDEN

This plug-in project is not currently in the repository, this command will now:

  • Perform an SVN import into the repository
  • Tag the plug-in project as the LATEST_RELEASE
  • Checkout the imported version of the project from SVN to '/home/chen/projects/CAS/projects/checkout/CasClient'
    Are you sure you wish to proceed?
    (y, n)
    y
    [unzip] Expanding: /home/chen/projects/CAS/projects/CasClient/grails-cas-client-1.0.zip into /home/chen/projects/CAS/projects/CasClient/unzipped
    [copy] Copying 1 file to /home/chen/projects/CAS/projects/CasClient/unzipped
    Enter a SVN commit message:
    updated to 1.0
    Importing project to https://svn.codehaus.org/grails-plugins/grails-cas-client. Please wait...
    Error occurred with release-plugin: svn: Path '/grails-plugins/grails-cas-client/trunk/scripts' already exists
    org.tmatesoft.svn.core.SVNException: svn: Path '/grails-plugins/grails-cas-client/trunk/scripts' already exists
    ..... (some stack trace to follow)

I've successfully done it from 0.1 to 0.2 so I'd have thought it would work this time. To reproduce it, you have to create a new plugin, release it into repository and release another version again. Thanks!

Activity

Hide
Chanwit Kaewkasi added a comment -

I've just release my plugin with Grails 1.0.1 and everything is working fine for me.
However, my environment is Windows XP.

Have you tried Grails 1.0.1? It might fix your problem.

Show
Chanwit Kaewkasi added a comment - I've just release my plugin with Grails 1.0.1 and everything is working fine for me. However, my environment is Windows XP. Have you tried Grails 1.0.1? It might fix your problem.
Hide
Chen Wang added a comment -

thanks for the suggestions. I've tried with 1.0.1 but still no luck. exactly the same error here. I was suspecting if my svn username/password was wrong so I tried several other u/p combi but all got the same error message so at least the message was a bit misleading (it should say wrong username/password etc. ) but it does make me think if my svn commit right has been revoked?

alternatively is there another way of releasing a plugin? I see the benefit of using release-plugin and I've done it succesfully before but it just doesn't work for at the moment.

Show
Chen Wang added a comment - thanks for the suggestions. I've tried with 1.0.1 but still no luck. exactly the same error here. I was suspecting if my svn username/password was wrong so I tried several other u/p combi but all got the same error message so at least the message was a bit misleading (it should say wrong username/password etc. ) but it does make me think if my svn commit right has been revoked? alternatively is there another way of releasing a plugin? I see the benefit of using release-plugin and I've done it succesfully before but it just doesn't work for at the moment.
Hide
Graeme Rocher added a comment -

Hi chen,

When you first released the plugin, did you then check it out again? this problem occurs when your plugin is not a working copy of the SVN repo. Does your plugin directory have .svn directories within it?

Show
Graeme Rocher added a comment - Hi chen, When you first released the plugin, did you then check it out again? this problem occurs when your plugin is not a working copy of the SVN repo. Does your plugin directory have .svn directories within it?
Hide
Chen Wang added a comment -

Hi Graeme,

Exactly as you suggested, I should have done the release-plugin thing with the checked-out copy instead of the one without .svn stuff. I've successfully released it without any problem. Please close the issue. Sorry about that.

Chen

Show
Chen Wang added a comment - Hi Graeme, Exactly as you suggested, I should have done the release-plugin thing with the checked-out copy instead of the one without .svn stuff. I've successfully released it without any problem. Please close the issue. Sorry about that. Chen
Hide
Chen Wang added a comment -

Hi Graeme,

Exactly as you suggested, I should have done the release-plugin thing with the checked-out copy instead of the one without .svn stuff. I've successfully released it without any problem. Please close the issue. Sorry about that.

Chen

Show
Chen Wang added a comment - Hi Graeme, Exactly as you suggested, I should have done the release-plugin thing with the checked-out copy instead of the one without .svn stuff. I've successfully released it without any problem. Please close the issue. Sorry about that. Chen

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: