简体   繁体   English

Eclipse rcp应用程序中的svn支持

[英]svn support in eclipse rcp application

I need to add svn support to my own eclipse rcp application. 我需要在自己的Eclipse rcp应用程序中添加svn支持。 I need to show commit history and checkout specific version of a file from svn server. 我需要显示提交历史记录,并从svn服务器中检出文件的特定版本。

Do I need to use sublipse or subversive or svnkit is enough? 我是否需要使用sublipse或subversive或svnkit就足够了?

Subclipse and Subversion do the same thing. Subclipse和Subversion做同样的事情。 Subclipse is from SVN and Subversive is from the Eclipse camp. Subclipse来自SVN,Subversive来自Eclipse阵营。 SVNKit is just the connector. SVNKit只是连接器。 I use Subclipse from the SVN camp primarily because it is built by the SVN community and usually always works flawlessly. 我之所以使用SVN阵营的Subclipse,主要是因为它是由SVN社区构建的,并且通常总是可以完美运行。 Subversive is a less reliable plugin on the SVN side IMHO.. Subversive是SVN端恕我直言的可靠度较低的插件。

Subclipse also supports pretty much all the SVN detail level attributes and works right out of a SVN Perspective so you can manage everything from the IDE and Project. Subclipse还几乎支持所有SVN详细信息级别属性,并且可以直接在SVN透视图中工作,因此您可以管理IDE和Project中的所有内容。

You can use SVNKit if you are just looking for an API and you want to do all the work yourself to call the API and build a UI for the SVN features you want. 如果您只是在寻找API,并且想要自己完成所有工作以调用API并为所需的SVN功能构建UI,则可以使用SVNKit。 If you want to reuse the UI and work that was done already, then you would need to use Subclipse and drive its views and commands from your code. 如果要重用UI和已经完成的工作,则需要使用Subclipse并从代码中驱动其视图和命令。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM