开发者

Java Subversion libraries

I've been researching Java APIs for Subversion (SVN). It seems there are 开发者_Go百科3 available:

  • JavaHL - part of the SVN project. Provides a relatively low-level API
  • svnClientAdapter - part of the Subclipse project. Provides a relatively high-level API
  • SVNKit - unlike the other 2, this provides a 100% Java implementation of the SVN protocol, i.e. no native libaries must be installed. It provides a high-level API, a low-level API, an implementation of JavaHL, and a command-line client that uses SVNKit for it's implementation.

I have no practical experience with any of these APIs, but assuming the above is true, SVNKit looks like a clear winner. I know from experience that appearances can be deceiving, so am looking for feedback from someone who has actually used one or more of these libraries. Is SVNKit the runaway winner, as suggested above, or is there a better choice.

I guess the answer will depend on what I'll be doing with the API, and (perhaps surprisingly), the answer is mostly writing, e.g. adding, updating and deleting files, creating projects and repositories, branching, etc.

Thanks! Don


I've used SVNKit, it worked for me...they have some example's in their downloads... I was not so much comfortable learning it by those examples, but this link worked for me...

I could implement following functionality easily: CheckIn(Local Copy(LC) to Repository(R)), CheckOut(R to LC), Commit(Update changes from LC to Rep) , importing Dir/File to R, deleting Dir/File from R...

P.S. - This forum is also very helpful.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜