Friday, July 16, 2010

buckminster, svn provider and svn+ssh protocol

I've been struggling to make use of svn provider using svn+ssh protocol. After I setup ssh keys I would get errors such as:

ERROR [0000] : No suitable provider for component com.iwaysoftware.core.services:osgi.bundle was found in searchPath resources
ERROR [0000] : Rejecting provider svn({0}/dependencies/trunk/{1}): No component match was found
ERROR org.tigris.subversion.svnclientadapter.SVNClientException: org.tigris.subversion.javahl.ClientException: svn: Handshake failed, received: ''
ERROR [0000] : Rejecting provider svn({0}/iIT/trunk/features/{1}): No component match was found
ERROR org.tigris.subversion.svnclientadapter.SVNClientException: org.tigris.subversion.javahl.ClientException: svn: Handshake failed, received: ''

Fortunately I went to #eclipse-b3 on IRC and by luck jbarkanic was there who had the very same problem. With his help I was able to make this work by adding two lines in Hudson's Buckminster command section:

setpref org.eclipse.buckminster.core.maxParallelMaterializations=1
setpref org.eclipse.buckminster.core.maxParallelResolutions=1

It seems Buckminster does not work well in multi-threaded mode in some configurations, so forcing operation into single-threaded mode fixes the issue.

Blogger Syntax Highliter