(reproduced) using SVN in eclipse

Source: Internet
Author: User
Tags svn

For the convenience of personal use, reproduced, if you need to check, please go to the original address: http://www.cnblogs.com/wvqusrtg/p/4993849.html1. Download the Subclipse plugin method in Eclipse one: from eclipse Marketplace inside Download the specific action: open Eclipse---help---eclipse Marketplace---Enter subclipse search in Find Find Subclipse Click Install method Two: Download the specific action from the install new software: Open Eclipse---help-Install new software-click the Add button, enter : http://subclipse.tigris.org/update_1.10.x, click OK--and subclipse and Svnkit after the next or agree to the end (here because I have installed, So next is gray) method three: Direct download subclipse zip file specific operation: Baidu search subclipse-site-1.10.x (see what version you want to install)--after extracting the Dropins folder in the Eclipse directory, Go to the Dropins folder and create a new folder named SVN, copy the features and plugins folders to the SVN directory--restart Eclipse two: Upload project to SVN server

1. In eclipse, bring up the SVN repository view from Show view


2. Right-click in the empty location of the SVN repository window to select the new repository location


3. Fill in the address of the server


4. The repository import was successful and the imported repository appears in the SVN repository view


5. Create a new project

6. Write the initial version of project


7. Right-click Project---team--Share project

8. Select repository Type SVN--click Next


9. Using an existing repository location


10. Use the project name as the folder name--click Finish--Enter your username and password (This step is not necessarily for everyone)


11. Freely choose whether to open the Synchronize view


12. Right-click Project--Team--submit


13. Freely choose whether to write the log (recommended)


14 Click OK-to upload to the server successfully, at this time refresh the repository, the repository appears under the uploaded project

Three: Download project from server to local

1. In the Repository view, click the small triangle to the left of the library and all project under that repository appears


2. Select Project to download right---check out as


3. Freely choose whether to change the properties (default is recommended)--Finish-Download success

IV: Update code from the server 1. Right-click Project project--> and resource pool synchronization  
  2. Select Open Synchronize View  

  3. There is a different server code than the local code will be displayed in the Synchronize view, double-click to see the comparison between the local code and the server code, plus the new file (not local)  
  4. Switch mode to incoming mode, the code in this mode is the server update code, need to download to local, right-click to update the file-->team--> update  

5. If this symbol appears, there is a conflict between the local code and the server code (that is, the local code changes the code if it is not updated to the latest version, or when you write code to A.java, someone uploads a new A.java code to the server, resulting in a conflict between the code)

(reproduced) using SVN in eclipse

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.