I. Download Subclipse plugin method One in eclipse: Download the specific action from Eclipse Marketplace: Open Eclipse--------------------- Enter Subclipse search in Find Subclipse Click Install method Two: Download the operation from the install NEW software: Open Eclipse---help--Install Ne W Software--Click the Add button, type: http://subclipse.tigris.org/update_1.10.x, click OK--and subclipse and Svnkit tick, All the way 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 oneself want to install which version)-- > 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 and 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, if the local code is not updated to the latest version, the code is changed; While Java was writing code, someone uploaded a new A to the server. Java code, causing conflicts between the code)
V. Resolution of conflict situations conflict Case 1: Server code is the same place as your own code churn
This is a complex situation where you can only save your own code locally, update the server code directly, and then modify your logic on the new code.
Conflict Case 2: The server code differs from the place where your code changes
This is more common, you and other developers are changing the same file, but because the development tasks are separate, so the change is different, the workaround is as follows.
1. Double-click the conflicting file to enter the comparison view
2. Find the new but not local code block on the server, select the code block, click the button in the upper right corner (such as the arrow pointing to the button) to copy the server code to local (also the same operation elsewhere), if the click button is useless, turn off the Compare view reopen
To successfully copy the server code to the local code,
3. After copying the new code from all the servers to the local file, the right-click Conflict File selection is marked as merged, and the file disappears under the Synchronize view, and the file's code has successfully merged the local code and the Remote code together
Eclipse Configuration svn method