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

Re: Javahl client adapter is not available

From: Mark Phippard <MarkP_at_softlanding.com>
Date: 2005-07-27 03:22:33 CEST

OK, I fixed this. Here is my commit message:

Improve reporting of errors when JavaHL library fails to load.

The JavaHL load process actually tries to load several libraries, so I did
not want to just
report every error. A user looking at the console might think JavaHL
failed to load, when it
actually was successful. So what I did was maintain a StringBuffer of all
of the error messages
encountered along the way. If, at the end, the library was not loaded
succcessfully, then I output
all of the errors. Also, since the errors typically involve the path, I
also output the value of
java.library.path. On my Mac, the error message looks like this:

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 =
.:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java

You can download the JAR from the one I just committed and replace the one
in the core plugin. Use this URL and a username and password of guest.

http://subclipse.tigris.org/svn/subclipse/trunk/subclipse/core/svnClientAdapter.jar

Mark

_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________
Received on Wed Jul 27 11:22:33 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.