How to Integrate TortoiseSVN with Eclipse IDE?

落爺英雄遲暮 提交于 2019-11-29 11:02:22

问题


I have always used TortoiseSVN + Notepad++ to develop websites and applications in a shared repository. But I want to use Eclipse IDE instead of Notepad++.
I did a checkout to my SVN repository with TortoiseSVN and now I want to import the SVN project (a Liferay project) into Eclipse and commit files to SVN repository directly from Eclipse IDE. How can i accomplish this?

Thanks for help!


回答1:


You need to install an SVN Plugin. I would recommend Subversive you can find it in the Eclipse Marketplace (Help -> Eclipse Marketplace...).

After this you have to install an SVN Connector. I would recomment SVNKit. Then you can open the Eclipse perspective SVN Repository Exploring and configure your SVN repository.

Now you can make all SVN operations directly from Eclipse and there is no need to use TortoiseSVN anymore.




回答2:


The easiest is to use a SVN plugin for eclipse such as Subclipse - http://subclipse.tigris.org/. Once installed you would not have any dependency to TortoiseSVN.

Also note that if you wish to use both Subclipse and TortoiseSVN on the same files on your file system, your working copy format version supported by the respective clients must be the same.




回答3:


There is a plugin which allows simple usage of Tortoise SVN (and also Beyond Compare) in Eclipse: https://github.com/ContextQuickie/ContextQuickie




回答4:


The 2 Phase Installation instructions are provided in the Eclipse site which I followed to install Tortoise SVN in my Eclipse Luna. I followed the Phase I - Option 1 and Phase 2, which worked well for me.

http://www.eclipse.org/subversive/installation-instructions.php



来源:https://stackoverflow.com/questions/18759562/how-to-integrate-tortoisesvn-with-eclipse-ide

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