SVN How do I get JavaHL?

황제낙엽 2010.09.28 11:29 조회 수 : 51 추천:1

sitelink1  
sitelink2  
sitelink3 http://1 

What is JavaHL?

JavaHL is a part of the Subversion project. Specifically, it is the Java language binding for the Subversion API. Subversion provides a layered API design that is delivered as native libraries (DLL's). The Subversion command line is simply one consumer of this API. The API is rich in functionality but is also maintained for backwards compatibility. This is the reason there are so many great Subversion clients and tools available, because there is a rich and stable API that provides all of the functionality you need.

Subversion is written in C to provide excellent cross platform support, but also because C produces libraries that are easy to consume from virtually any other language. The Subversion project provides and maintains language bindings for Java, Perl, Python and Ruby. The latter three are provided via the SWIG library and its ability to interface languages with native libraries. JavaHL is a "High Level" API and is provided with custom written C++ code to serve as the JNI bridge between Java code and the native libraries. This design allows us to provide a nice Java API into Subversion.

JavaHL consists of essentially four parts:

  1. A relatively thin layer of Java code that provides the API that consumers can talk to from Java.
  2. A C++ library (the JavaHL library or libsvnjavahl-1). The Java layer talks to this layer using Java Native Interface (JNI) calls. The C++ layer is where the "High Level" API is implemented. For example, Java may provide a simple API that says "Commit this list of files, using this commit message". The C++ layer takes care of memory management and performing all of the lower level Subversion API calls it takes to complete the request.
  3. The Subversion libraries themselves. These are the same libraries that the command line client would install and use. Also, other Subversion clients, such as TortoiseSVN or AnkhSVN would also use these same libraries.
  4. Subversion library dependencies. Subversion needs a number of external libraries to operate. The biggest is the Apache Portable Runtime (APR), but it also needs libraries like Neon for the HTTP client and OpenSSL to handle encryption etc.

All four of these layers are needed for JavaHL to work and be used in an application.

번호 제목 글쓴이 날짜 조회 수
28 TortoiseSVN 초보자 가이드 file 황제낙엽 2022.02.09 57
27 [TortoiseSVN] SVN Revision 되돌리는 법 file 황제낙엽 2022.02.09 89
26 TortoiseSVN - add to ignore list file 황제낙엽 2021.06.04 72
25 tortoise, subversion 자동 로그인 캐시 제거(로그아웃) 황제낙엽 2020.02.06 358
24 [VisualSVN] SSL 인증서 합치기 file 황제낙엽 2019.03.29 437
23 [VisualSVN] Importing an SSL certificate with private key 황제낙엽 2019.03.29 265
22 윈도우에서 TortoiseSVN 아이콘 오버레이가 표시되지 않는 문제 file 황제낙엽 2019.02.12 388
21 VisualSVN svn 프로토콜 열기 (Open SVN protocol on VisualSVN) file 황제낙엽 2018.11.22 518
20 VisualSVN Server Over view 황제낙엽 2018.07.11 67
19 서브버전(subversion) svn locked 오류 해결 황제낙엽 2018.06.11 118
18 Previous operation has not finished; run 'cleanup' if it was interrupted file 황제낙엽 2018.04.02 435
17 Optimize Tortoise SVN Cache (TSVNCache.exe) Disk I/O file 황제낙엽 2018.04.02 177
16 [SVN] VisualSVN 계정 관리 방법 file 황제낙엽 2017.05.26 352
15 [SVN] VisualSVN Server 의 저장소 백업 및 복원 황제낙엽 2016.11.04 2761
14 TortoiseSVN 잠그기 (Get lock) file 황제낙엽 2016.02.04 65
13 VisualSVN Server 와 TortoiseSVN 관련 링크 모음 file 황제낙엽 2016.02.03 115
12 Win7 64bit에서 subclipse 1.6.x 사용 시 javahl 버전 에러 황제낙엽 2013.03.02 44
11 SVN 사용시 revision 번호로 버전관리하는 방법 황제낙엽 2012.08.28 586
» How do I get JavaHL? 황제낙엽 2010.09.28 51
9 이클립스 Subversion에서 svn:ignore 활용 황제낙엽 2009.02.09 54