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

Re: problems opening subclipse perspetive

From: Hermann Voßeler <hermann.vosseler_at_baaderbank.de>
Date: 2005-05-10 14:12:35 CEST

Thomas SMETS wrote:
> If I read you mail correctly and link it to the next one ... You
> installed a SVN-server with the javaHL-layer to have the subeclipse
> client installed correctly ... ?
>

Tomas,

I fear this was a bit confusing, my apologies...

> --- Hermann Voßeler <hermann.vosseler@baaderbank.de> wrote: I don't
> have subversion-server installed on this PC. We use Subversion via
> Apache + https: + Client Certificates. The Server is located on
> another machine (and it was rather tricky to set up...). Version of
> Subverson-Server: 1.0.6 (but this doesn't matter as long as it is >
> 1.0)

I gave this info only for sake of completeness. You don't need a
subversion server, SubClipse only needs a subversion client, either
command line (slow), or via JNI (javaHL) or a pure java implemenation
(JavaSVN).

(Of course, you need a subversion-server at some place to manage
the repository, but it is the job of the subversion client to talk
to the server and SubClipse only talks to the client)

Currently, you are trying to get JNI/javaHL to work. For this, the
svn-javahl.jar must be able to call through to the native code of the
subversion client. Especially this means dynamically linking to
libsvnjavahl-1.so and its dependencies. And the best way to get
this to work is building your onw subversion (client).

Further on, Subclipse must be able to find svn-javahl.jar (this is
not a problem in most cases, because this is shipped with the
plugin and refered in plugin.xml). And svn-javahl.jar must be able
to find libsvnjavhl-1.so. This can be accomplished by using a
wrapper scirpt to start eclipse and to
export LD_LIBRARY_PATH=/usr/local/lib
in this script (and of course, libsvnjavahl-1.so needs to be
properly installed to /usr/local/lib and registered with the
dynamic linker (ldconfig executed by root)

I hope this explanation made things a bit clearer.

>
> Any fool can write code that a computer can understand. Good
> programmers write code that humans can understand. Martin Fowler

-- 
cheers,
Hermann Vosseler
---------------------------------------------------------------
Hermann Voßeler
Baader Wertpapierhandelsbank AG / IT
Weihenstephaner Straße 4
D-85716 Unterschleißheim
Internet: www.baaderbank.de
---------------------------------------------------------------
Received on Tue May 10 22:12:35 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.