Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Subversive » Subversive and external JavaHL library in Win64, is it possible?
Subversive and external JavaHL library in Win64, is it possible? [message #756007] Thu, 10 November 2011 13:03 Go to next message
Mauro Molinari is currently offline Mauro Molinari
Messages: 278
Registered: July 2009
Senior Member
Hello there,
I'm trying to use Subversive with JavaHL library provided by Slik SVN.
I'm using Eclipse 3.7.1 64-bit under Windows 7 64-bit.

I installed:
- Subversive SVN Team Provider (Incubation) 0.7.9.I20110819-1700 -
Subversive SVN Connectors 2.2.2.I20110602-1700
- Native JavaHL 1.6 Implementation (Optional) 2.2.2.I20110602-1700
- Slik SVN 1.6.17 for x64

I haven't installed the JavaHL Win32 binaries provided by Subversive,
because I'm on Win64.

Slik SVN is in the path and the java.library.path system property (as
shown in Help | About Eclipse Platform | Installation Details |
Configuration) shows that the bin directory of Slik SVN is there.

However, if I go to Window | Preferences | Team | SVN | SVN Connector,
what I see in the SVN Connector combo box is:
- Native JavaHL
- SVNKit 1.3.5 r7406 (for SVN 1.6.15, all platforms)
What is suspecting is that I have no information about the version of
the "Native JavaHL" connector. Anyway, if I try to select it and press
"OK", no error is given: however, if I go back to Window | Preferences |
Team | SVN | SVN Connector, I see that SVNKit has been selected back.
I also tried to make a thread dump while performing a SVN operation and
the traces confirm that SVNKit is still used.

Is there a way to make Subversive use the JavaHL library provided by
Slik SVN? Please note that the library name is libsvnjavahl-1.dll and
that it is located in the bin folder of Slik SVN.

Thanks in advance,
Mauro.
Re: Subversive and external JavaHL library in Win64, is it possible? [message #756019 is a reply to message #756007] Thu, 10 November 2011 13:50 Go to previous message
Mauro Molinari is currently offline Mauro Molinari
Messages: 278
Registered: July 2009
Senior Member
I looked at the sources of the JavaHL connector and I see that it tries
to load some libraries. Unfortunately it seems like Slik SVN is using
different names for those libraries. I started to rename the libraries
of Slik SVN to make Subversive find them. The renamings I did are the
following ones:

Library loaded by SVN => Library provided by SlikSVN

- libapr-1 => SlikSvn-libapr-1
- libapriconv-1 => SlikSvn-libintl-x64 (?)
- libaprutil-1 => SlikSvn-libaprutil-1
- libeay32 => SlikSvn-libeay32
- ssleay32 => SlikSvn-ssleay32
- dbghelp => SlikSvn-DB44-20-x64 (?)
- libsvn_subr-1 => SlikSvn-svn_subr-1
- libsvn_delta-1 => SlikSvn-svn_delta-1
- libsvn_fs-1 => SlikSvn-svn_fs-1
- libsvn_repos-1 => SlikSvn-svn_repos-1
- libsvn_diff-1 => SlikSvn-svn_diff-1
- libsvn_wc-1 => SlikSvn-svn_wc-1
- libsasl => SlikSvn-Sasl21-23-x64 (?)
- libsvn_ra-1 => SlikSvn-svn_ra-1
- libsvn_client-1 => SlikSvn-svn_client-1
- libsvnjavahl-1 => libsvnjavahl-1

Of course, I'm not sure this is the right thing to do, especially for
those libraries whose names are quite different (marked wih (?)).

However, the first tests I'm making seem to prove that it works!
Subversive is now using JavaHL (as shown by a thread dump) and I'm doing
a synchronization right now...
By the way, the combo box in Window | Preferences | Team | SVN | SVN
Connector still shows just "Native JavaHL", but I can now select it
successfully.

Well, it would certainly be better if Subversive supported Slik SVN
libraries out-of-the-box, as Subclipse does.

Maybe there are other pre-built packages of SVN for Windows 64 around,
using the expected library names?

Thanks in advance,
Mauro.
Previous Topic:Support Subversion 1.7
Next Topic:Can't login with svn+ssh private key more than once
Goto Forum:
  


Current Time: Wed Oct 01 10:16:40 GMT 2014

Powered by FUDForum. Page generated in 0.01698 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software