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

Re: [Subclipse-users] can't use JhlClientAdapter?

From: Mark Phippard <markp_at_softlanding.com>
Date: 2006-05-09 14:58:53 CEST

"ΡσΣσ" <biti509yi@163.com> wrote on 05/09/2006 04:11:42 AM:

> I just need some simple functions such as checkout.But there are so
> classes and functions that I'm confussed as a beginner.
> There is my code below.But it dosen't work and throws exception.
> code:
> JhlClientAdapterFactory.setup();
> String type =
> System.out.println("Using "+type+" factory");
> ISVNClientAdapter svnClient = JhlClientAdapterFactory.
> createSVNClient(type);
> exception:
> org.tigris.subversion.svnclientadapter.SVNClientException: Javahl client

> adapter is not available
> I hava downloaded the source of subclipse1.0.1 and added svnjavahl.jar,
> svnClientAdapter.jar... into eclipse as libraries.
> I didn't change the structrue of souce.
> I know that JhlClientAdapter is relevant to the *.dll files and
structrue of
> souce is below:
> \subclipse1.0.1
> \svnClientAdapter
> \lib\*.jar
> *.dll
> \subclipse
> \core
> \lib\*.jar
> I really don't know what's wrong with the problem?

The JavaHL adapter did not find the libraries. The DLL's need to either
be in a folder that is on PATH or you need to set java.libary.path to
include the folder that contains the DLL's.

Could you just use the JavaSVN adapter? It is a lot easier in this area
since it is pure Java. Just call JavaSVNClientAdapterFactory.setup().

Also, I think you should be calling:


Scanned for SoftLanding Systems, Inc. and SoftLanding Europe Plc by IBM Email Security Management Services powered by MessageLabs.
Received on Tue May 9 15:00:46 2006

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.