Paired JAR and native library binaries for SVN Java bindings (JavaHL) on Windows?

后端 未结 1 1313
独厮守ぢ
独厮守ぢ 2021-01-19 04:33

I\'m writing some code that uses the Subversion (SVN) Java bindings (JavaHL) directly (where JavaHL comprises native libraries and a thin Java wrapper). On Linux (Ubuntu 12.

相关标签:
1条回答
  • 2021-01-19 05:12

    The WANdisco binaries should have JavaHL in them.

    http://www.wandisco.com/subversion/download

    Been a while since I used them myself (don't typically use Windows). But WANdisco has tools that depend on JavaHL so I can't imagine the Windows binaries are missing JavaHL.

    [Question author edit to complete detail]

    You need to install the (Windows) Subversion client (not SmartSVN), and make sure you check the box to add it to the Windows PATH. This stores the 'paired' JAR in the install directory (along with the native libraries). However, WANDisco only provide a 32-bit install (see this forum post) so this won't work on 64-bit Windows. In addition, the JAR only includes the Apache versions of the API, which were added for Subversion 1.7. If you're using the legacy org.tigris.subversion.javahl package API for compatibility with pre-1.7 SVN clients, you still need to build the JAR manually.

    0 讨论(0)
提交回复
热议问题