Eclipse SVN Installation Considerations

Source: Internet
Author: User
Tags svn

1. Download the SVN pluginOpen Eclipse, menu bar Help, Install New software

Add a URL to work with: http://subclipse.tigris.org/update_1.8.x/will appear after carriage return for example the following two options. All check all the way next. Until the installation is complete, a warning will pop up in the middle without having to worry about it. Click "OK" to continue the installation.

watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvbgluzmvuzzi0/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/center ">
After the installation is complete, restart Eclipse.


2, check whether the installation of SVN successfully opened the menu bar Windows-Preferences, Team saw that there is SVN information to prove the successful installation. If unsuccessful, please repeat the above steps.

watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvbgluzmvuzzi0/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/center ">

3. Tell SVN where your project repository is after SVN is installed. The next step is to tell it your project warehouse address. Otherwise you will not be able to sync updates later. Open SVN view, assuming that there is no icon in the upper-right corner, then 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,

watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvbgluzmvuzzi0/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/center ">
Enter the Project warehouse URL here.  Need to login to verify, input teacher to username and password can. After the login is successful, right-click, check out as. Checking out all the resources will appear such as the following interface:

This is our project repository.
4, SVN daily use of basic operations (1) If you are submitting a project that is not in the repository, right-click your Project,team-Share project

watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvbgluzmvuzzi0/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/center ">

watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvbgluzmvuzzi0/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/center ">

watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvbgluzmvuzzi0/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/center ">

So it can.
(2) Assuming that the partner has updated the code, you need to know what the TA is updating in detail. Then you have to sync the warehouse project to your computer. Select the project you want to synchronize. Right-click, team-I 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 of small partners know, then choose the project you want to update, right-click. Team--submit, and in the dialog box, indicate what is updated in the updated version number.


watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvbgluzmvuzzi0/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/center "> This is a flag that has been synchronized or updated. If the changes are not synchronized, a black asterisk will appear.
(4) by looking at the repository history version number records, you can see what the small partners have done with the project. Select Project to view, right-click, team--Show resource history
The difference between update, sync, and commit is explained here:

Updates refer to changes on the server and you do not change locally. Need you to update.
Submission means 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 is submitted. Update before the submission of synchronization, to know what to submit what things to update, what is conflicting (you and co-workers changed the same file, there may be conflicts), conflict can not mention that AC cannot be updated, Only the first file of the conflict chooses to overwrite local files or servers these files cover local talent for updates or submissions
Note: Do the same time more than one person to manipulate the file. It will create a conflict.

Eclipse SVN Installation Considerations

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.