1. Download the SVN pluginOpen Eclipse, menu bar Help, Install New software
Add a URL here: http://subclipse.tigris.org/update_1.8.x/Enter after return will appear the following two options, all check all the way next, to install, the middle will pop a warning, do not control it, click "OK" On the line to continue the installation.
After the installation is complete, restart Eclipse.
2. Check if SVN is installed successfullyOpen the menu bar Window, Preferences, Team see the SVN message to prove the installation was successful. If unsuccessful, repeat the above steps.
3. Tell SVN where your engineering warehouse is.Once you've installed SVN, you'll have to tell it your project warehouse address, or you won't be able to sync updates later. Open SVN view, and if there is no icon in the upper-right corner, the SVN repository view will appear when you click on the SVN repository, Window-> Show views, others.
In SVN view, right-click New Repository location,
You can enter the Project warehouse URL here. Login verification required, enter the teacher's username and password can be. After successful login, right click, "Check out as", check out all the resources, will appear the following interface:
This is our engineering warehouse.
4, SVN daily use of basic operations(1) If you are submitting a project that is not in the warehouse, right click on your project, team--Share project
So you can.
(2) If the partner has updated the code, then you need to know what the TA specifically updated, it is necessary to synchronize the warehouse project to their own computer. Select the project you want to sync, right-click, team----sync with repository (or update)
(3) If you change the code, you need to submit your own code to the SVN repository, let the team's small partners know, then choose the project you want to update, right-click, team--Submit, in the dialog box to indicate the updated version of what is updated.
This is a flag that has been synchronized or updated. If no sync is modified, a black asterisk will appear.
(4) by looking at the historical version of the repository, you can see what changes have been made to the project by the Little friends. Select the project you want to view, right-click, team--Show resource history
The difference between update, sync, and commit is explained here:
Update refers to the changes on the server and you do not change locally, you need to update.
Commit refers to what is not on the server, that is, what you have changed, you need to submit the code, other colleagues update your code commit commit
Synchronization, is the work done before the update submission, the update before the submission of synchronization, you can know what to submit what to update, which things are conflicting (you and the colleague changed the same file, there may be conflicts), conflict can not be submitted and can not be updated, You can only update or submit conflicting files before you overwrite them with local files or overwrite them with the server's files.
Note: Do not operate the same file at the same time, which can cause conflicts.