Install SVN using myeclipse

Source: Internet
Author: User

I. Installation Method:

Method 1: Online installation is supported if you can access the Internet

1. Open Myeclipse and choose Help> Software Updates> Find and Install from the menu bar;

2. Select Search for new features to install and click Next to go to the Next step;

3. Click "New Remote Site". In the displayed dialog box, enter:

Name: SVN

Url: http://subclipse.tigris.org/update_1.4.x

Click OK to close the dialog box and click Finish to automatically download the plug-in installer from Myeclipse;

4. After downloading the plug-in, go to the installation screen.

5. Select the SVN plug-in to be installed. Remove Subclipse Integrations from the second option and click Next;

6. Select "I accept the terms in the license agreements" and click Next until you click Finish to go to the Next step.

7. start installing the SVN plug-in. After installation, restart Myeclipse.

 

Method 2: unable to connect to the network

1. Download the SVN plug-in
: Http://subclipse.tigris.org/files/documents/906/46495/site-1.6.5.zip

2. Create a folder under plug_in (C:/program files/myeclipse 6.5/Eclipse/plugins) in the installation path of myeclipse 6.5: site-1.6.5;

3. Open myeclipse 6.5 and choose help> Software Updates> Find and install from the menu bar;

2. Select search for new features to install and click Next to go to the next step;

3. Click "new local site", find the decompressed folder (site-1.6.5), click OK, and click Finish. myeclipse automatically loads the plug-in;

4. in the pop-up menu, select the features to insteall: tick before the added Path Subclipse-site-1.6.5, an error is reported, and then expand the plus sign before subclipse, remove the hooks before subclipse integration for mylyn 3.x (optional) 3.0.0. The error disappears. → next → select I accept the terms in the license agreements → next → select all 8 items, then change location ......, Select Add from the pop-up menu.
Location ...... Select the path (C:/program files/myeclipse 3rd/Eclipse/plugins/Site-6.5) of the folder created in step 1. → finish → select install all → yes from the pop-up menu.

5. start installing the svn plug-in. After installation, restart myeclipse.

Method 3: unable to connect to the network (link)

1, download Site-1.6.5.zip from the official website

2) decompress site-1.6.5.zip to $ {eclipse}/plugins/Subclipse-1.6.5.zip, and delete site.xml(very important (that is, all the jar packages and two XML files artifacts in the features and plugins folder extracted from site-1.6.5.zip. XML, content. add and replace XML with the plugins folder. For example, I should add files in C:/Program/myeclipse 6.5/Eclipse/plugins/directory)

3. Create the link file $ {eclipse}/linksSubclipse-1.6.5.zip.link (that is, add the linksSubclipse-1.6.5.link file under the link folder) whose content is: Path = C:/program files/myeclipse 6.5/Eclipse/

4. Restart eclipse to integrate subclipse.


Ii. installation completed

1. Select WINDOW> open perspective> other in the menu bar of myeclipse 6.5 to open the list of myeclipse attempts. At this time, the "SVN repository Indexing" item appears in the View list of myeclipse.

2. Open the "SVN repository Indexing" view. In the blank area on the left, right-click → new → repository location.

3. In the URL field, enter SVN: // ip and click Finish.

4. Right-click the project to be downloaded and select checkout to download the project to the local device.

III. Basic operations

1. submit the project

Right-click the project-> group-> shared project-> select SVN-> select svn: // 127.0.0.1 (if not, create a new resource library)-> next-> complete

2. Download the project

Under the SVN resource library perspective, click svn: // 127.0.0.1 to display all projects on the local SVN, right-click the project you want to download-> check out as-> next-> complete

3. Operation project

3.1 Synchronization

Under the MyEclipse J2EE perspective, right-click the project you want to synchronize-> group-> synchronize with the resource library-> the synchronization perspective is displayed, the local file and SVN file have different content. Double-click the file name to display the differences between the two files;

3.2 submit

Under the synchronization perspective, there is a "gray-to-right arrow indicating that your local machine has been modified". Right-click the file and you can choose to submit the file;

3.3 overwrite/update

Under the synchronization perspective, there is a "blue arrow to the left, indicating that your local machine has been modified". Right-click the file and choose overwrite/update;

4. Icon description

4.1 gray right arrow: changed locally

4.2 blue to left arrow: SVN modified

4.3 gray-to-right arrow with a plus sign in the middle: more local files than SVN

4.4 blue arrow with a plus sign in the middle to the left: SVN more files than local

4.5 gray-to-right arrow with a minus sign in the middle: deleted locally, but undeleted files on SVN

4.6 blue to the left, there is a minus arrow in the middle: SVN deleted, but local files not deleted

4.7 Red Two-way arrow: Files modified locally on SVN

5. Some error messages I encountered

5.1 The "svnserve. conf: 12: Option expected" error occurs when you enter the URL (SVN: // 127.0.0.1) in step 1 above.

Open row 12th in the svnserve. conf file. This error is caused by a space in front of the row. Delete the extra space on the left;

5.2 The following error occurs when you enter the URL (SVN: // 127.0.0.1/svn_prj) in step 1 above: "SVN: // 127.0.0.1/svn_prj non-existent in revision '7 '"

The URL is incorrect. Enter SVN: // 127.0.0.1.

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.