This page last changed on Jun 13, 2008 by edawson.

Native Client

FishEye can use a native Subversion client installed on your system, but your client needs to be version 1.2 or later, and must include the JavaHL bindings. FishEye can use all of the protocols supported by your native client.

The JavaHL bindings include a Java .jar file, typically named javasvnhl.jar, and a dynamic library such as libsvnjavah-1.so or libsvnjavahl-1.dll. FishEye must be configured so it can find both the .jar and the dynamic library.

If the JavaHL dynamic library is in your library path (such as %PATH% on Windows), then FishEye will automatically find it. Otherwise you can tell FishEye where it is, or set the FISHEYE_LIBRARY_PATH environment variable before starting FishEye.

Acquiring native Subversion libraries for your operating system

Pre-compiled native clients are available for most platforms. The Subversion download page links to platform specific distributions. Ensure you get the binary that includes JavaHL bindings, as well as the standard package. Also ensure that the versions of the JavaHL and standard packages match.

  • Subversion for Windows:
    To install Subversion for Windows, visit this page
    You need to download the standard package as well as the JavaHL version. The standard package is named svn-X.Y.Z-setup.exe and the JavaHL installer file is named svn-win32-X.Y.Z_javahl.zip where 'X.Y.Z' refers to the version number (for example, svn-win32-1.4.6_javahl.zip at the time of writing).
  • Subversion for Fedora Linux:
    For Linux systems using the yum package manager (such as Fedora Core 3 and above) you can type
    yum install subversion-javahl
    from the Linux command line interface to install the JavaHL bindings for Subversion. Note that this will also install the standard Subversion library, which is required.
  • Subversion for Ubuntu and Debian Linux:
    For Linux systems using the apt-get package manager (such as Debian and Ubuntu) you can type
    apt-get install libsvn-javahl
    from the Linux command line interface to install the JavaHL bindings for Subversion. Note that this will also install the standard Subversion library, which is required.

    Native Client Configuration

You can configure your Subversion client in the Server Settings section of the FishEye Administration screens, or by editing the <svn-config> section of your config.xml. If you change these settings, you need to restart FishEye.

JAR The path to the JavaHL .jar.
Dynamic library The path to the dynamic library, if it is not already on your system's library path.
Note: Due to a bug in earlier versions of the JavaHL bindings, setting this value is ineffective unless you are using a Subversion client 1.2.3 or later.

Example (change path locations as required)

<svn-config jar="/usr/share/subversion/lib/svn-javahl.jar" jnilib="/usr/lib64/libsvnjavahl-1.so"/>
Document generated by Confluence on Sep 23, 2008 01:42