[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Subclipse 0.9.33 Released

From: Russel Winder <russel_at_russel.org.uk>
Date: 2005-09-12 00:19:04 CEST

Alex,

Thanks for the prompt response, this is much appreciated. And
everything now works so it is good news!

On Sun, 2005-09-11 at 20:27 +0200, Alexander Kitaev wrote:
> Hello Russel,
>
> > or.tigris.subversion.javahl.ClientException: svn:
> > Authentication cancelled.
> This is JavaSVN exception, so you're using JavaSVN.

Given that it uses the term javahl in the name and the term javasvn is
not, the conclusion that JavaSVN is being used is far from obvious. I
think some further thought needs to be given to the symbols appearing
with errors like this so as to lead people to the correcxt conclusions.

> Read this to get information on how to configure svn+ssh with private key
> authentication - http://tmate.org/svn/kb/user-guide-config-settings.html

I tried:

        /opt/eclipse-3.1/eclipse -vmargs
-Djavasvn.ssh2.key=/home/users/russel/.ssh/id_dsa

and although it printed out:

Failed to load JavaHL Library.
These are the errors that were encountered:
no libsvnjavahl-1 in java.library.path
no svnjavahl-1 in java.library.path
no svnjavahl in java.library.path
java.library.path
= /usr/lib/j2sdk1.5-sun/jre/lib/i386/client:/usr/lib/j2sdk1.5-sun/jre/lib/i386:/usr/lib/j2sdk1.5-sun/jre/../lib/i386:/home/users/russel/build/lib

it actually worked as it should, i.e. I didn't have to specify the
username and passphrase -- those seemed to be correctly picked up from
ssh-agent as it was before. So this get's me up and running fine.
Which is good :-)

I am not convinced that the message about error should be emitted. I
assume the plugin polls for JavaSVN at boot time but as JavaSVN is the
selection I made at the UI for my interaction type, it is not an error
that the JavaHL libraries were not found.

> I expect that next version of Subclipse will support not only password
> prompt, but also prompt that will allow user to provide private key path.

This would be a good move. This and my use of ssh-agent would mean all
I would have to do is:

        /opt/eclipse-3.1/eclipse

and everything would work as expected.

PS There are a few minor infelicities on the Web page you pointed me
at, perhaps we could chat about doing some update offline?

-- 
Russel.
====================================================
Dr Russel Winder                +44 20 7585 2200
41 Buckmaster Road              +44 7770 465 077
London SW11 1EN, UK             russel@russel.org.uk

Received on Mon Sep 12 08:19:04 2005

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.