Eclipse's SVN plugin is associated with the local SVN client

Source: Internet
Author: User
Tags svn client tortoisesvn



in our work project development, we often use SVN, we did not use the Eclipse software, we are in the editor after modifying the code, the local SVN stream to commit the code, but our eclipse is very powerful, After the Eclipse editor has modified the code, we can simply click on the button in eclipse to submit it (we need to install the SVN plugin in Eclipse ).



1. Questions



There are two common ways we use SVN plugins in eclipse:



Method One:


  when we use the local SVN client (TortoiseSVN)Update the code locally and import it into Eclipseafter that, but found that ourSVN plugin does not work(no display of small icons such as commit, update, restore, etc.), onlyApply Patchand theShare Projectoptions.




Method Two



          If we use the SVN plugin directly Go to the SVN server in Eclipse Chek out to workspace and cannot use the local SVN client (TORTOISESVN ) To submit



How to get the most out of both worlds, the same stream, can be submitted either in the SVN plugin via eclipse or in the local SVN client (TortoiseSVN).



2 workaround to associate Eclipse's SVN plug-in with the local SVN client



2.1 Operation Steps



1> View our local client (TortoiseSVN) version (this is very important, the version to correspond)










2> Install the SVN plugin inside eclipse, this step is based on the version of our local SVN client to find the corresponding version of the SVN plugin should be installed in Eclipse, or the association will fail !



Eclipse SVN Plugin and TORTOISESVN correspondence:


  1. Subclipse 1.4. x includes and requires Subversion 1.5. x client features and working copy format.
  2. Subclipse 1.6. x includes and requires Subversion 1.6. x client features and working copy format.
  3. Subclipse 1.8. x includes and requires Subversion 1.7. x client features and working copy format.
  4. Subclipse 1.10. x includes and requires Subversion 1.8. x client features and working copy format.


3> because our local client (TortoiseSVN) version is Subversion1.7.2, we want to install the version of Eclipse to install as Subclipse to 1.8.x



4> started to install SVN plugins in eclipse















Then go all the way to Next, OK!!



But as my eclipse is already installed in the SVN plugin ah, in such a way to replace the possible? (I have tried, it is possible, although some errors will be reported.) )



Well, according to the normal idea, we first uninstall the SVN plugin, and then install the high version.



Eclipse Uninstall Plug-in is relatively simple, according to the figure operation is good:













It's good to unload all SVN-related Uninstall. Uninstall complete we reboot, and then use the above method (local import, online installation both can) install the new version of the SVN plugin. and then reboot.


5> in eclipse to see the version of the SVN plugin we just installed, and the associated local SVN version he was able to provide



Method One:









Note that the basic of our correspondence is not too thin, the basic eclipse inside the SVN plugin 1.8.X can be associated with the outside SVN (TortoiseSVN) 1.7.X version.



 6> first We use the client locally ( tort OISESVN ) to pull the project down. Then import into Eclipse



7> the project with the SVN plugin, in the project name, right-click menu,Team, Share project , followed by select Stream, enter the password and so on, then OK.



Basically, we can submit the update code both locally and in eclipse.



Eclipse's SVN plugin is associated with the local SVN client


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.