Using SVN in Eclipse

Source: Internet
Author: User
Tags svn version control system

As a programmer, SVN is a common and inevitable use of a tool, it is a full spell for subversion, is an open source version control system, each modified files and directories can be accurately recorded in order to be used in time to extract. This article mainly describes how to use SVN in eclipse.

Tools/Materials
    • Eclipse, SVN
I. Download and install the Subclipse plugin in eclipse
    1. 1

      Open Eclipse, find Marketplace in the Help menu, and click Enter.

    2. 2

      In the Search box find, enter Subclipse, click on the right of the Go button query, Subclipse found, click on the lower right corner of the button install installation.

    3. 3

      Select some files that need to be installed, choose all by default, and click Next to do the next step.

    4. 4

      Agree to the license agreement, tick "I accept the terms of the license agreements", then click Finish to complete.

    5. 5

      The installation process shows that some hints may appear during the installation process, so you can agree.

    6. 6

      Subclipse you need to restart eclipse after the installation is complete.

    7. 7

      Subclipse Usage (subclipse usage report) is optional and free to decide. usually not checked. This way, even if the installation is complete.

      END
Second, SVN resource library
    1. 1

      After the Subclipse installation is complete, you can use SVN. In the Window menu, execute: Show View--and other.

    2. 2

      Retrieve the SVN keyword in the pop-Up Show view dialog box to quickly find the SVN repository, select, OK.

    3. 3

      The SVN repository appears in the Problem view window. Note: The problem view is what we often call "backstage," which is used to display code or project configuration errors, and double-click the error entry to quickly locate the code.

    4. 4

      Right-click the empty space in the SVN repository window and create a new repository location.

    5. 5

      Add a new SVN repository, enter the correct server address in location "locations", and then finish.

    6. 6

      Enter your username and password and click "Save Password" to log in more quickly next time.

      END
Third, upload the project
    1. 1

      Right-click on the item you want to upload and share project under team.

    2. 2

      Select the SVN repository and click Next to proceed to the next step.

    3. 3

      Share the project to the SVN repository, select the existing repository fire to create a new location, click Next Next.

    4. 4

      Select the folder name in the SVN repository, or you can use the specified module name, which is already specified on the server, finish.

    5. 5

      "Open this perspective now" prompt.

    6. 6

      To see the effect further, we can now open it in the Web page. Open the project folder, empty! You need to perform the next step.

    7. 7

      Submit: Again, right-click on the project, select Team, this time we found many more options, click "Submit".

    8. 8

      Submit the address, you can write some instructions here, click OK.

    9. 9

      Back to the Web page, you can see that all the files have been uploaded.

      END
Iv. Download the project
    1. 1

      Switch to the SVN repository, right-click the item you want to check out, and select "Check out as ...".

    2. 2

      As a project in the workspace check out, enter the project name, in order to maintain consistency can be directly default, and then finish.

    3. 3

      The items after checkout are presented directly in eclipse, actually exporting the project to a set workspace.

    4. 4

      Export: Export refers to any location that can be exported directly to the local computer. Similarly, right-click the selected item and select the export item.

    5. 5

      In the pop-up dialog box, select Export Directory via the browse button.

      END
V. Delete items in SVN
    1. Switch to the SVN repository, right-click the item you want to delete, and select Delete.

    2. Edit the Submit comment and click OK to finish.

Using SVN 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.