SVN operations in Eclipse

Source: Internet
Author: User
Tags svn

--------------------siwuxie095

SVN operations in Eclipse

(i) Publish items to SVN Server (ADD)

such as: Jack put the project HelloWorld Publish to SVN server

1.Select the project name and right-click->team->share Project

2. Select Version Control tool: SVN

3. Create Warehouse Location

3. Enter warehouse location (path)

4. Enter the folder name

5, enter the user name and password, note: Because this is a simulation, so do not tick save password

(May need to enter more than a few times)

6. Effect: An asterisk icon appears on the item, and a question mark icon appears on all levels of folders and files .

7, select the project name, right click->team-> Submit

8. Add comment notes for this operation

9. Enter user name and password

Effects: Column icons appear on items, levels of folders, and files

One, open SVN server, you can see:

(ii) from SVN Server Download Project (Checkout)

such as: Mary downloads items from the SVN server HelloWorld

1, keep the original Eclipse does not close, open a new eclipse again,

Specify a new workspace Workspace

2. Open The SVN repository view: Window->show VIEW->OTHER->SVN Resource Library

2.in the SVN repository view, right-click New Repository Location

(or directly click on the icon in the top right corner)

3. Enter the location of the warehouse (path)

4, enter the user name and password, note: Because this is a simulation, so do not tick save password

5. The repository will appear in the SVN repository

6, click the warehouse, you need to enter a user name and password

7. HelloWorld Project appears

8, select the project, right-click Check out for

9. Enter user name and password

By default, you can

Enter your user name and password.

(May need to enter more than a few times)

Effects: Column icons appear on items, levels of folders, and files

(iii) Use Eclipse's SVN plug-in co-development

Such as: Jack modifies the HelloWorld project and submits it to the SVN server,

Mary downloads the latest version of the project from the SVN server

1, Main.java the beginning of the content as follows:

2.Jack makes the following changes to Main.java: Add a line of comments

3.effect: Asterisk icon appears on item, level folder and file

4, choose Main.java, right click->team-> submit ...

(Step above)

5, the effect: on the project, all levels of folders and files appear on the cylinder icon

6.Mary Downloads the latest version from the SVN server, selects Main.java,

Right-click->team-> Update ...

(Step above)

7, the effect: on the project, all levels of folders and files appear on the cylinder icon

8.at this time, Mary's Main.java are as follows:

(iv) View the history of a file : Who changed what file at what time ?

such as: View Main.java's history or historical version

1, select Main.java, right-click->team-> Display Resource History

2. Enter user name and password

3. Main.java history or historical versions are as follows:

(Include: version, date, author, comment)

4.If you want to see a historical version of Main.java, simply double-click that line and

Enter your user name and password to

"Made by siwuxie095"

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