Use of SVN (ii) use in Eclipse

Source: Internet
Author: User
Tags svn

The last time I introduced the command-line use of SVN, I'll show you how to use SVN in eclipse today. Nonsense not much to say, to see the concrete steps:

1 Installing a pair of SVN plugins in Eclipse .

Copy your svn plugin installation file to the Dropins directory under Eclipse's installation directory, as shown in:

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M01/8B/C5/wKiom1hX5ZzgRyUBAACfRqyZT2g396.png-wh_500x0-wm_3 -wmp_4-s_2348345170.png "title=" 111.png "alt=" Wkiom1hx5zzgryubaacfrqyzt2g396.png-wh_50 "/>


2 After completion of the previous step, you need to restart Eclipse, and then select windows--in Eclipse preference--"team--" svn, if the Team has SVN this option, the plugin has been installed successfully, The effect in my eclipse is as follows:

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M02/8B/C5/wKiom1hX5w-QMJwmAADhAyBd9pg336.png-wh_500x0-wm_3 -wmp_4-s_2092314476.png "title=" 111.png "alt=" Wkiom1hx5w-qmjwmaadhaybd9pg336.png-wh_50 "/>


3 Share project code with the SVN repository

(1) Select the project you want to share to the SVN repository, then right-select Team---shareproject as shown:

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M01/8B/C2/wKioL1hX6LDBJ9K8AABkljAwFxU376.png-wh_500x0-wm_3 -wmp_4-s_1408522916.png "title=" 111.png "alt=" Wkiol1hx6ldbj9k8aabkljawfxu376.png-wh_50 "/>

(2) Select the repository type as SVN, as shown in:

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M02/8B/C2/wKioL1hX6QeSujJaAAB8-zQHyTA901.png-wh_500x0-wm_3 -wmp_4-s_1639812891.png "title=" 111.png "alt=" Wkiol1hx6qesujjaaab8-zqhyta901.png-wh_50 "/>

(3) Select Next, then select "Create a new repository location", then click "Next". As shown in the following:

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M01/8B/C5/wKiom1hX6bHzGN_EAADCB02LfWg289.png-wh_500x0-wm_3 -wmp_4-s_2393400838.png "title=" 111.png "alt=" Wkiom1hx6bhzgn_eaadcb02lfwg289.png-wh_50 "/>

(4) Enter the location of the SVN repository to be created by SVN and click Next. As shown in the following:

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M01/8B/C5/wKiom1hX6vOjq0PLAACy5Dq0OkQ385.png-wh_500x0-wm_3 -wmp_4-s_2906699201.png "title=" 111.png "alt=" Wkiom1hx6vojq0plaacy5dq0okq385.png-wh_50 "/>

(5) Select Use the project name as the folder name and click the "Finish" button. As shown in the following:

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M02/8B/C2/wKioL1hX637hgJU4AACRErzGd_A379.png-wh_500x0-wm_3 -wmp_4-s_1881471231.png "title=" 111.png "alt=" Wkiol1hx637hgju4aacrerzgd_a379.png-wh_50 "/>

(6) After the previous steps have been completed, it is common for us to choose whether to open the SVN Explorer view now. We choose "Yes". And then you'll

See the following interface:

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M00/8B/C2/wKioL1hX7DXDouycAACioil4ZiY818.png-wh_500x0-wm_3 -wmp_4-s_2575213706.png "title=" 111.png "alt=" Wkiol1hx7dxdouycaacioil4ziy818.png-wh_50 "/>

(7) then select the code to be submitted, here I select the entire project is submitted. After you select the item, right-click, select team--Commit, and the Fill Log Information dialog box pops up. In this dialog we can see the code ready for submission, and we can also enter the reason for the submission, which is the log. In general, each submission is submitted in the form of a submission to facilitate the subsequent Code history review. Here I fill in the "Initial commit", will appear as shown in the progress bar:

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M02/8B/C2/wKioL1hX7YLi1bunAABem2kZUB0632.png-wh_500x0-wm_3 -wmp_4-s_1005718171.png "title=" 111.png "alt=" Wkiol1hx7yli1bunaabem2kzub0632.png-wh_50 "/>

after the progress bar executes, the code is uploaded successfully.


4 How do I check out a new project from the SVN server (check out)?

(1) In the Eclipse workspace that opens, right-click the blank space in Project Explorer to select Import:

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M01/8B/C2/wKioL1hX8kvxAhGaAABnz1wI3LY273.png-wh_500x0-wm_3 -wmp_4-s_3825206200.png "title=" 111.png "alt=" Wkiol1hx8kvxahgaaabnz1wi3ly273.png-wh_50 "/>

(2) in the popup screen, select svn--to check out the project from SVN, as shown in:

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M02/8B/C6/wKiom1hX8p_i4E05AAC2HB7j1Y4756.png-wh_500x0-wm_3 -wmp_4-s_1433545539.png "title=" 111.png "alt=" Wkiom1hx8p_i4e05aac2hb7j1y4756.png-wh_50 "/>

(3) In the dialog box that pops up, select the repository address of the item you want to check out, and then next. The subsequent steps are not detailed.

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M02/8B/C2/wKioL1hX82SAC_qiAACl06LbIgs189.png-wh_500x0-wm_3 -wmp_4-s_3710137770.png "title=" 111.png "alt=" Wkiol1hx82sac_qiaacl06lbigs189.png-wh_50 "/>


In fact, SVN uses a variety of methods, this is only introductory level introduction. For example, the installation of SVN plug-ins can only be described here, and the installation of the SVN plugin may be downloaded using Eclipse's own online installation features. Write here today and welcome your criticism.





This article is from the "write-free" blog, please be sure to keep this source http://7156680.blog.51cto.com/7146680/1884093

Use of SVN (ii) use 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.