Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » "authentication cancelled" error headless, but works in IDE
"authentication cancelled" error headless, but works in IDE [message #533160] Wed, 12 May 2010 13:12 Go to next message
Sam Jones is currently offline Sam JonesFriend
Messages: 8
Registered: May 2010
Junior Member
Buckminster 3.5, running on Linux (Ubuntu)

Trying to import my .cquery with Buckminster headless. I have my svn repo set up as an svn provider in my .rmap. It works fine from within the Eclipse IDE, but when I run it with my headless install, I'm getting:

ERROR   [0001] : No suitable provider for component <component name>:osgi.bundle was found in resourceMap file:<path to rmap file>
  ERROR   [0001] : No suitable provider for component <component name>:osgi.bundle was found in searchPath <searchPath name>
    ERROR   [0001] : Rejecting provider svn(https://<username>:<password>@<svn root>/<svn path>/<component path>?moduleAfterTag&moduleAfterBranch
): No component match was found
      ERROR   org.tigris.subversion.svnclientadapter.SVNClientException: org.tigris.subversion.javahl.ClientException: svn: authentication cancelled
INFO:  TAG-ID 0001 = Query for <component name>:osgi.bundle


Sorry for the obfuscation; hopefully it's still readable enough.

I've tried this both with the username/pass loaded from a .properties file and hardcoded in my .rmap, with the same results. It works fine in Eclipse, and if I pull that url and the component name out and run it manually with svn co, it also works fine.

I saw someone mention that error looks like a password dialog being canceled -- I'm not sure if that's possible if I'm preloading the credentials right in the URL.
Re: "authentication cancelled" error headless, but works in IDE [message #536968 is a reply to message #533160] Mon, 31 May 2010 17:43 Go to previous messageGo to next message
Chris Eagan is currently offline Chris EaganFriend
Messages: 15
Registered: July 2009
Junior Member
I am getting the same problem using the Hudson Buckminster plugin, and I noticed that the Hudson plugin appears to be getting subclipse instead of subversive. I use subversive in my primary workspace and I don't have any trouble there. I'm wondering if it is possible to make the Hudson Buckminster plugin use subversive instead.

UPDATE:

Subversive works. I used the following buckminster.json file to override the IU for subclipse with the IU for subversive.

{"buckminsters":[
        {"id":"3.6 Subversive",
          "name":"Buckminster 3.6 Subversive",
          "url":"http://download.eclipse.org/tools/buckminster/products/director_latest.zip",
          "iu":"org.eclipse.buckminster.cmdline.product",
          "repositoryURL":"http://download.eclipse.org/tools/buckminster/headless-3.6",
          "repositories":[
                {
                    "url":"http://download.eclipse.org/tools/buckminster/headless-3.6",
                    "features":[
                        {"id"="org.eclipse.equinox.p2.director.feature"},
                        {"id"="org.eclipse.buckminster.psf.feature"},
                        {"id"="org.eclipse.buckminster.emma.headless.feature"},
                        {"id"="org.eclipse.buckminster.pde.headless.feature"},
                        {"id"="org.eclipse.buckminster.maven.headless.feature"},
                        {"id"="org.eclipse.buckminster.core.headless.feature"},
                        {"id"="org.eclipse.buckminster.git.headless.feature"},
                        {"id"="org.eclipse.buckminster.cvs.headless.feature"}
                   ]
               },
                {
                    "url":"http://download.cloudsmith.com/buckminster/external-3.6",
                    "features":[
                        {"id"="org.eclipse.buckminster.subversive.headless.feature"}
                   ]
               }
          ]
      }
   ]
}

[Updated on: Mon, 31 May 2010 19:19]

Report message to a moderator

Re: "authentication cancelled" error headless, but works in IDE [message #537101 is a reply to message #536968] Tue, 01 June 2010 10:32 Go to previous message
Johannes Utzig is currently offline Johannes UtzigFriend
Messages: 329
Registered: July 2009
Senior Member
Hi Chris,

please see comments below

Am 31.05.2010 19:43, schrieb Chris Eagan:
> I am getting the same problem using the Hudson Buckminster plugin, and I
> noticed that the Hudson plugin appears to be getting subclipse instead
> of subversive. I use subversive in my primary workspace and I don't have
> any trouble there. I'm wondering if it is possible to make the Hudson
> Buckminster plugin use subversive instead.


I asked Thomas which of the two should be installed by default and I was
told to make subclipse the default choice until further notice because
there have been some issues with subversive.
The feature configuration to be installed by the plugin is not
hardwired. There is a JSON file on the hudson-ci.org that contains the
list of features to install and URLs where to find them.
See here:
http://hudson-ci.org/updates/hudson.plugins.buckminster.Buck minsterInstallation.BuckminsterInstaller.json

You can override this update configuration by placing a
"buckminster.json" file in HUDSON_HOME/userContent/buckminster
Just copy the file from hudson-ci.org, remove the leading
" downloadService.post('hudson.plugins.buckminster.Buckminster Installation.BuckminsterInstaller', "
and the trailing ")" and replace the subclipse feature with the
subversive feature.
This is also described in the PlugIns wiki page:
http://wiki.hudson-ci.org/display/HUDSON/Buckminster+PlugIn

Please note that as long as you have your own buckminster.json file in
userContent the 'official' version on the hudson-ci.org will be
invisible to the plugin. So when subversive is made default, or the
issues with subclipse fixed you might want to consider to delete or
rename your custom json file unless you explicitly want to maintain a
custom configuration for your builds.

Best regards,
Johannes
Previous Topic:svn+ssh key file
Next Topic:Heads up on Buckminster Version Range Generation
Goto Forum:
  


Current Time: Fri Apr 26 07:47:21 GMT 2024

Powered by FUDForum. Page generated in 0.02790 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top