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

[Subclipse-dev] Revision graph progress and problem with JavaHL

From: Alberto Gimeno <gimenete_at_gmail.com>
Date: Thu, 5 Jun 2008 14:12:09 +0200

I have been working on the cache implementation. I have developed the
queries needed to build the graph. I have made some tests and they
work by the moment. However I have used a very simple data set.

Now I am trying to query information from a real repository through
JavaHL. But I have a very simple problem. JavaHL can't load its DLLs.
I'm trying just to launch a very simple application (a main() method)
that uses JavaHL. I have defined
org.tigris.subversion.clientadapter.javahl as a project dependency in
window -> preferences -> java build path. And I have set
"-Dsubversion.native.library=/absolute/path/to/libsvnjavahl-1.dll" as
VM argument in the run dialog. I get the following error:

UnsatisfiedLinkError: C:\.....\libsvnjavahl-1.dll: Can't find
dependent libraries

Before it, a windows error dialog appears saying that can't find the
libapr-1.dll library. But it is in the same directory.

I have also tried to set the "-Djava.library.path" JVM argument and I
get a similar error:

UnsatisfiedLinkError: no svnjavahl-1 in java.library.path

But with the same window error dialog saying that it can't find
libapr-1.dll. And if I put a wrong java.library.path the error is the
same but without the windows error dialog. So I think the problem is
only in libapr-1.dll

Sorry if this is a very simple problem to solve, but I have tried
several things without success. For example I have also tried to
define both java.library.path and subversion.native.library.

Thank you.

-- 
Alberto Gimeno Brieba
Presidente y fundador de
Ribe Software S.L.
http://www.ribesoftware.com
ribe_at_ribesoftware.com
Contacto personal
eMail: gimenete_at_gmail.com
GTalk: gimenete_at_gmail.com
msn: gimenete_at_hotmail.com
página web: http://gimenete.net
teléfono móvil: +34 625 24 64 81
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subclipse.tigris.org
For additional commands, e-mail: dev-help_at_subclipse.tigris.org
Received on 2008-06-05 14:12:22 CEST

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