Embeddable distributed version control system in Java?

爷,独闯天下 提交于 2019-12-04 11:36:47

问题


Is there a distributed version control system (like git or Mercurial) that can be used as an embedded library in Java applications (to implement versioned and synchronizable storage for application data), ideally written in pure Java and under a permissive license?


回答1:


@Josh Moore's reply led me to JGit, which seems to be a competitor to JavaGit. JGit is pure Java and licensed under BSD.

Some further digging unearthed HgKit, which aims to implement Mercurial in Java. It is still pre-alpha and GPLed.




回答2:


I do not know of any pure Java solutions. But, check out http://javagit.sourceforge.net/ you can use it to connect to a git repository with Java.




回答3:


There is a pure Java library, SVN Kit for interacting with Subversion



来源:https://stackoverflow.com/questions/177469/embeddable-distributed-version-control-system-in-java

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!