How to create jar for SlikSVN native client & configure Fisheye for Native SVN Client
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Statement of Purpose
It might be tough to find an native SVN client for several reasons:
WANDisco only offer 32 bit binary
SlikSVN does not bundle a jar with the dll
Procedure
Below are the steps to get SlikSVN setup ie. : how to find the dll, create a corresponding jar, and configure Fisheye to use them
Download the appropriate version from https://sliksvn.com/pub/ <- 1.8, 1.9 & 1.10 are viable options as per our supported platforms page. We will choose 1.9.5
On the Fisheye host machine, install SlikSVN with the msi/installer you downloaded in the first step
After installation you will have the dll files in the following path: C:\Program Files\SlikSvn\bin
libsvnjavahl-1.dll is the file we will point Fisheye to in the configuration step
Do the following to create a corresponding jar file (instructions are for *Nix based systems/OS)
get the source either from here or via svn checkout eg.: svn export http://svn.apache.org/repos/asf/subversion/tags/1.9.5/subversion/bindings/javahl/src
move into the src directory and create a sources.txt file: cd src && find . -name "*.java" > sources.txt
with java 8, compile sources using javac: javac @sources.txt
also with java 8 create jar file: jar cf svn-javahl1.9.jar org
copy jar to Fisheye host machine
Stop Fisheye
Update the path to the dll and the jar in the FISHEYE_INST/config.xml
1 2 3
<svn-config jar="C:\absolute\path\to\svn-javahl1.9.jar" jnilib="C:\Program Files\SlikSvn\bin\libsvnjavahl-1.dll"/><web-server> <http bind=":8060"/> </web-server>
When Fisheye has started you can navigate to Admin > Global Settings > Server > Subversion Client and click edit to confirm that native client has been loaded:

Was this helpful?