I think I ruined my plugin information in the repository somehow (I
guess it was when I was trying release-plugin without the config (to
reproduce error) and was using Ctrl-C to stop it when I saw that it
"worked".
Now, although I was able to install the plugin (logdigger-connector)
from repository before it's not available any more. :-(
I've tried to release again, even increasing version number but I end
up with error:
Plugin meta directory corrupt, checking out again
Importing plugin meta data to
https://svn.codehaus.org:443/grails-plugins/.plugin-meta. Please
wait...
[copy] Copying 1 file to
/home/radomir/.grails/1.1.1/grailsplugins/.plugin-meta
org.tmatesoft.svn.core.SVNException: svn: File
'/grails-plugins/.plugin-meta/plugins-list.xml' already exists
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)
at org.tmatesoft.svn.core.internal.io.dav.DAVCommitEditor.addFile(DAVCommitEditor.java:235)
at org.tmatesoft.svn.core.wc.SVNCommitClient.importFile(SVNCommitClient.java:1516)
at org.tmatesoft.svn.core.wc.SVNCommitClient.importDir(SVNCommitClient.java:1495)
at org.tmatesoft.svn.core.wc.SVNCommitClient.doImport(SVNCommitClient.java:693)
at org.tmatesoft.svn.core.wc.SVNCommitClient.doImport(SVNCommitClient.java:522)
at ReleasePlugin.checkoutOrImportPluginMetadata(ReleasePlugin:195)
at ReleasePlugin.this$4$checkoutOrImportPluginMetadata(ReleasePlugin)
at ReleasePlugin$_run_closure4.doCall(ReleasePlugin:171)
at ReleasePlugin$_run_closure3.doCall(ReleasePlugin:137)
at ReleasePlugin$_run_closure1.doCall(ReleasePlugin:42)
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: svn: File
'/grails-plugins/.plugin-meta/plugins-list.xml' already exists
Another very strange thing is that each time I call release the script
retrieves the list of plugins which takes more than an hour. Is this
normal? It's very irritating as I have to wait very long before I see
the result of command. :-(
Have to get some sleep now...
On Mon, Jun 22, 2009 at 8:55 PM, Will Droste<
will@...> wrote:
> Thanks. I'll take a look.
> Will
>
> On Mon, Jun 22, 2009 at 1:50 PM, Radomir Mladenovic <
radomirml@...>
> wrote:
>>
>> I've found and even deleted files with my credentials and codehaus
>> server under ~/.subversion/auth but it still passed release without
>> error.
>>
>> However, I remembered that was trying to release from my laptop too so
>> here's the exception from there:
>>
>> Enter a SVN commit message:
>> v0.9.3
>> Importing project to
>>
https://svn.codehaus.org/grails-plugins/grails-logdigger-connector.
>> Please wait...
>> org.tmatesoft.svn.core.SVNAuthenticationException: svn: Authentication
>> required for '<
https://svn.codehaus.org:443> grai
>> ls-plugins primary Subversion repository'
>> at
>> org.tmatesoft.svn.core.internal.wc.SVNErrorManager.authenticationFailed(SVNErrorManager.java:47)
>> at
>> org.tmatesoft.svn.core.internal.wc.SVNErrorManager.authenticationFailed(SVNErrorManager.java:41)
>> at
>> org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager.getFirstAuthentication(DefaultSVNAuthentic
>> ationManager.java:176)
>> at
>> org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:480)
>> at
>> org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:257)
>> at
>> org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:245)
>> at
>> org.tmatesoft.svn.core.internal.io.dav.DAVConnection.doMakeActivity(DAVConnection.java:295)
>> at
>> org.tmatesoft.svn.core.internal.io.dav.DAVCommitEditor.createActivity(DAVCommitEditor.java:415)
>> at
>> org.tmatesoft.svn.core.internal.io.dav.DAVCommitEditor.openRoot(DAVCommitEditor.java:96)
>> at
>> org.tmatesoft.svn.core.wc.SVNCommitClient.doImport(SVNCommitClient.java:684)
>> at
>> org.tmatesoft.svn.core.wc.SVNCommitClient.doImport(SVNCommitClient.java:522)
>> at ReleasePlugin$_run_closure7.doCall(ReleasePlugin.groovy:289)
>> at ReleasePlugin$_run_closure3.doCall(ReleasePlugin.groovy:116)
>> at ReleasePlugin$_run_closure1.doCall(ReleasePlugin.groovy:42)
>> 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: svn: Authentication required for
>> '<
https://svn.codehaus.org:443> grails-plugins primary Subversion
>> repository'
>>
>>
>> BTW, I'm using Grails 1.1.1.
>>
>> Regards,
>> Radomir
>>
>>
>> On Mon, Jun 22, 2009 at 8:34 PM, Will Droste<
will@...> wrote:
>> > Absolutely :) an interesting thing about SVN is it caches logins.. Some
>> > of
>> > the code tries to take advantage of that. The directory should be
>> > $USER/.subversion simply doing a move should clear the settings and just
>> > replace the copy that is created after getting the stacktrace to return
>> > the
>> > system to the same state.
>> > Regards,
>> > Will
>> >
>> > On Mon, Jun 22, 2009 at 1:01 PM, Radomir Mladenovic
>> > <
radomirml@...>
>> > wrote:
>> >>
>> >> Hi,
>> >>
>> >> Sorry, I didn't save the exception and I now release-plugin works even
>> >> when I remove settings.groovy. :-)
>> >> Is there a cached file somewhere that I could remove?
>> >>
>> >> Best regards,
>> >> Radomir
>> >>
>> >>
>> >> On Mon, Jun 22, 2009 at 5:52 PM, Will Droste<
will@...>
>> >> wrote:
>> >> > Radomir,
>> >> > Could you please provide the full stack trace? I'd like to know the
>> >> > issue
>> >> > since I patched an area of that code, so we don't run into the same
>> >> > problem..
>> >> > Dev,
>> >> > And just a question of curiosity.. Why is a user/password required
>> >> > in
>> >> > either the settings.groovy, BuildConfig.groovy or from the command
>> >> > line
>> >> > given SVN supports storing it encrypted inside the .subversion
>> >> > directory?
>> >> > Best Regards,
>> >> > Will
>> >> >
>> >> > On Mon, Jun 22, 2009 at 4:30 AM, Radomir Mladenovic
>> >> > <
radomirml@...>
>> >> > wrote:
>> >> >>
>> >> >> Hi,
>> >> >>
>> >> >> For the last few days I'm trying to release plugin to the official
>> >> >> repository but no luck. I always end up with error:
>> >> >>
>> >> >> Importing project to
>> >> >>
https://svn.codehaus.org/grails-plugins/grails-logdigger-connector.
>> >> >> Please wait...
>> >> >> org.tmatesoft.svn.core.SVNAuthenticationException: svn:
>> >> >> Authentication
>> >> >> required for '<
https://svn.codehaus.org:443> grails-plugins primary
>> >> >> Subversion repository'
>> >> >>
>> >> >> I followed the procedure described on
>> >> >>
http://grails.org/Creating+Plugins and I got approval for developer
>> >> >> status. The problem is "grails release-plugin" never asks me about
>> >> >> login credentials.
>> >> >> I've tried to release from two different machines (Linux and
>> >> >> Windows),
>> >> >> and I always get the same result (above quoted error).
>> >> >>
>> >> >> Thanks for any input.
>> >> >>
>> >> >> Regards,
>> >> >> Radomir
>> >> >>
>> >> >>
>> >> >> ---------------------------------------------------------------------
>> >> >> To unsubscribe from this list, please visit:
>> >> >>
>> >> >>
http://xircles.codehaus.org/manage_email>> >> >>
>> >> >>
>> >> >
>> >> >
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe from this list, please visit:
>> >>
>> >>
http://xircles.codehaus.org/manage_email>> >>
>> >>
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>
http://xircles.codehaus.org/manage_email>>
>>
>
>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email