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

RE: Compiling subversion with javahl support?

From: Mark Phippard <MarkP_at_softlanding.com>
Date: 2005-05-23 02:48:45 CEST

> You can also copy the libsvnjavahl.so file to
> eclipse/plugins/org.tigris.subversion.subclipse.core_0.9.30 this worked
> for me and IMHO is more convenient than setting
> -Djava.library.path=/usr/local/lib or setting LD_LIBRARY_PATH (which may
> affect other things).

The problem with your approach is that every time you install a new release
of Subclipse, which has been about every 4-6 weeks, you have to remember to
do this step.

I have another question for someone who understands this stuff (library
loading). Why does the above method work? I understand why it can now
find the JavaHL library, but when it loads it, why is the JavaHL library
then able to find and load all of its dependencies? On Windows, if you
only copied the main library and not all of the dependencies, it would fail
unless those dependencies were on the PATH.

Just curious.

Mark

_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________
Received on Mon May 23 10:48:45 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.