This article also applies to MyEclipse.
I. Download the Subclipse plug-in method in Eclipse one: Download specific actions from the Eclipse Marketplace : Open Eclipse--> help--> Eclipse Marketplace--> Enter Subclipse search--> find subclipse Click Install
method Two: Download the specific action from Install new Software : Open eclipse--> help--> Install new Software--> Click the Add button and enter the download address: http:/ /subclipse.tigris.org/update_1.10.x, click OK
--> will subclipse and Svnkit after a tick, all the way next or agree to the end can (here because I have installed, so next is gray)
method Three: Direct download subclipse zip file specific operations: Baidu search subclipse-site-1.10.x (see what version you want to install)--> after decompression in the Eclipse directory to find Dropins folder, 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, pull up the SVN repository view from Show view
2. Right-click in the empty position of the SVN repository window to select 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. New Project
6. Write the original version of Project
7. Right-click Project--> Team--> share Project
8. Select repository type for SVN--> click Next
9. Use existing repository location
10. Use the project name as the folder name--> Click Finish--> enter username and password (This step does not necessarily everyone)
11. Freely choose whether to open synchronize view
12. Right-click Project--> Team--> Submit
13. Free to choose whether to write a log (recommended)
14 Click OK--> upload to the server is successful, at this time refresh the resource pool, the resource pool appears under the uploaded project
Three: Download project from the server to the local
1. After clicking on the small triangle on the left side of the resource Pool view, all project under that repository appears
2. Select the project right key to download--> check out to
3. Freely choose whether to change properties (recommended Use default)--> Finish--> Download Successful
Four: Update the code from the server 1. Right key project project--> and repository synchronization
2. Choose to open Synchronize View
3. The server code with the local code will be displayed in the Synchronize view, double-click to see the comparison of local code and server code, plus is the new file (local not yet)
4. Switch mode to incoming mode, the code in this mode is the server update code, need to download to the local, right button to update the file-->team--> update
5. If this symbol appears in the following illustration, there is a conflict between the local code and the server code (that is, the local code changes the code without updating to the latest version; or if you have a. Java write code during the period, someone to the server uploaded a new A.java code, so that there is a conflict between the code
Five: conflict resolution conflict Scenario 1: Server code is the same place as your own code changes This is a complex situation, where you can only save your own code to local Then update the server code directly, and then modify your logic on the new code.