SVN installation and use with Eclipse

Source: Internet
Author: User
Tags svn svn client

SVN Overview

L usually software development is developed by multiple people, and if there is no versioning of code files, configuration files, documents, etc., there will be many problems:

L Backup multiple versions and take up large disk space

• difficulty resolving code conflicts

L easy to cause bugs

L difficult to trace the modification and modification time of the problem code

L difficult to revert to previous correct version

L cannot perform permission control

L difficult to publish project version

1 SVN Architecture

(1)svn server

- first create a warehouse inside the SVN server

(2)svn client

SVN Server installation and use

1 Installation attention issues

1) If there are conflicting two ports, find out which program the port is, and stop the program process

- Command:

(2) Locate the port corresponding to the ID value

(3) Open the Computer Task Manager, find the pid value, stop

2 SVN Server usage

(1) Create a warehouse

The first step Open the server Manager

Step Two Right-click to create a new warehouse

(2) add svn user

(3) Set permissions for users

SVN Client Installation and use

1 SVN Client Installation

(1) After the SVN client is installed, restart the computer

2 simulating collaborative development with the SVN Client Tool

The first step Synchronize folders with svn server

(1) The SVN client is also required to use the SVN server path address, and right-click will see the chip

(2) write svn repository path

copy svn repository path

The warehouse path on the server is copied to, and then gets

Enter user name and password

Step Two For example , Jack creates a file and puts the creation file on the svn server .

Step three download files from SVN server

2 version Conflict issues

(1) Resolve version conflict principle:

- your own modified code cannot be lost

The first step Delete redundant files

Step Two Open the file with an exclamation point and find yourself modifying the contents of the file

3 If you save the user name and password, clear the user name and password

E Clipse for svn use E Clipse and myeclipse

1 Eclipse is free, Eclipse is a development tool

2 MyEclipse charge, is the eclipse plugin

Installing the svn plugin in Eclipse

There are two ways of installing:

First: Find the Eclipse installation path,

Second: introducing the SVN plugin into eclipse

(1) Locate the Eclipse Installation path and locate the folder

(2) Create folder inside the Dropins folder svn

(3) Copy the contents of the two folders and folders after decompression to the svn folder .

(4) Restart the Eclipse tool

Verify that the installation is successful

Publish items to svn(add to svn)

The first step Right-click on the Item Team-share project

Step Two choose to use the version control tool

Enter Warehouse Path

Fourth Step click Finish to add the item to SVN

(1) Enter user name and password, in order to simulate the synergy effect, do not save

(2) Icon changes on the project

  

Fifth Step Right click on the item and click team- Submit

Icon becomes a cylinder icon

If there are no columns in front of the project, there may be an aggregation project

1. Tombstone manager 's inclusion project

then click on import=

Then it's all in the column now.

download project from SVN server (checkout)

The first step Open Window=>shoo view=>other=>svn repository

(1) add svn repository

(2) Enter the warehouse path

Step Two Right click on the item you want to download, click Check out for

Click Finish to complete

using the svn plugin for Eclipse to develop together

1 modify file, file icon change

2 Submission of documents

Click OK

3 update to get the latest file content

View File History resource records

set ignore uploaded files

rebind svn address
    1. Right-click project ="team=> disconnected, and delete

    2. Window=>show View=>other
    3. Search Svn
    4. then double- click on the SVN repository ="Right-click resource" To access the obsolete location

5. Then rebind

SVN installation and use with 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.