📄 readme
字号:
About JavaHL------------JavaHL provides a (mostly native) implementation of a high level JavaAPI for Subversion, which was originally targeted for implementors ofGUI clients and IDE plug-ins for Subversion. JavaHL currentlyprovides a minimal-but-complete set of APIs which expose the coreSubversion C API to Java. It requires a JRE 1.2+ (runtime).Build system and output-----------------------JavaHL should compile and run under Linux, Win32, and Mac OS X with aJDK 1.3+.Its build will produce both a native library (libsvnjavahl.so on Unixor libsvnjavahl.dll on Win32) and a platform independent archive ofJava bytecode (svnjavahl.jar).To build JavaHL on non-Win32 platforms, just add "--enable-javahl" tothe configure script's parameters. "--with-jdk" can be provided tospecify the path to a jdk.The following make targets are provided:javahl build javahlinstall-javahl install javahlcheck-javahl run javahl tests(In order to run check-javahl, you must have already installed JavaHL,and you must have specified a path to a JUnit jar file with--with-junit when running configure; JUnit version 3.8.1 has beentested. JUnit can be downloaded from http://junit.sf.net/ .)MacOS X:After building libsvnjavahl.dynlib, you must rename it tolibsvnjavahl.jnilib. Additionally, it should probably be installed in/Library/Java/Extensions instead of wherever the build system chose toinstall it; patches to our build system to do this automatically arewelcome.Windows:In MS Visual Studio, make sure that the bin directory of the JDK is inyour path and that the include and the include\win32 directories arein the include path.To build, use the project/target "__JAVAHL__" of the main subversionworkspace. The private project/workspace is not used anymore.Success stories---------------Svn-Up, Swing GUI and plug-in for the IDEA IDE<http://svnup.tigris.org/>Subclipse, Eclipse IDE plug-in <http://subclipse.tigris.org/>Why not 100% pure Java?-----------------------Though 100% pure Java is often preferred by Java programmers, such animplementation would require re-writing _at least_ the entireSubversion client library in Java, resulting in tons of duplicatecode, and taking the maintainer's time away from improving Subversionitself.The SVNKit <http://svnkit.com/> client library (formerly known asJavaSVN) has produced a 100% pure Java implementation, and attempts totrack the latest changes to Subversion's core libraries; however, thisis an independent project and the Subversion project cannot make anypromises as to its compatibility with the official Subversionimplementation.TODO----o Expose more of Subversion's core libraries through JNI.o More JUnit test cases.o Improve JavaDoc and coding style.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -