Install Svn in eclipse and make it easy to use

Source: Internet
Author: User
Add svnclipse to eclipse Galileo

Open eclipse and choose help> install new software...> Add...> name: svnclipse (any name)
Location: http://subclipse.tigris.org/update_1.6.x
Or
Location: Click archive... and select the downloaded ZIP file (for http://subclipse.tigris.org, find it yourself ).

Click Next and select the check box about SVN to continue next, accept the protocol, and continue next to know finish. After successful installation, You can see Svn in WINDOW> preferences> Team.

Download and install the server software subversion. Then, set the bin directory to the environment variable path.

The installation has been completed. Next we will use:

1. Create a directory on the server (for example, D: \ SVN \ test, and the test directory is repository ).

2. Enter the command svnadmin create -- FS-type bdb D: \ SVN \ test under DOS. Svnadmin is an EXE program. It has been automatically added to the system path during installation (set the role of environment variables) D: \ SVN is the location of the version library. You can also choose another name or path, A version library can contain multiple projects. In this example, the project is test.

3. Configure repository to control access permissions and add users. Open the D: \ SVN \ test \ conf \ svnserve. conf file and
# Anon-access = read
# Auth-access = write
# Password-DB = passwd
Remove, save, open the passwd file in the same directory, add a line AA = bb At the end, where AA is the user name, BB is the password, you can add more users.

4. Start the svn service in two ways:
(A) Input svnserve.exe-D-r d: \ Svn in DOS. Press enter and start. However, the DOS window cannot be closed. This method is not recommended.

(B) register as the window service and enter the following command in the doc window: SC create svnservice binpath = "% svn_home % \ bin \ svnserve.exe -- service-R D: \ SVN "displayname =" svnservice "depend = TCPIP

Note: you must write this command in one line. Press enter to register as the window service. By default, it is manual and can be changed as needed (enter services in the running window. MSC Click OK to open the service manager ).

Here, % svn_home % is the installation directory of subversion. The parameter D: \ SVN is the directory created above, and "svnservice" is the service name.

To log out of the svnservice service, run the following command in DOS: SC Delete svnservice. "svnservice" indicates the name of the svn service.

5. when the svn service is enabled, open the eclipse view, window> show View> Other> SVN resource library, right-click and choose new> resource library location, input SVN: // localhost/test and a resource library will appear. You will not need to talk about it here. Next and finish.

6. In the project view, right-click your project and select the team menu. Many options will pop up. Sort them by yourself.

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.