Using cvsnt to use CVS in eclipse-some additional information

Source: Internet
Author: User
I wrote an article some time ago. Article Describes how to "use cvsnt to use version control system CVS in eclipse 3.0". The link is

Http://blog.csdn.net/javamxj/archive/2004/10/12/132904.aspx. At that time, I used the cvsnt version 2.0.51d. Soon after the publication, The cvsnt version has been upgraded many times and I applied the previous articles, which may cause some minor problems. Here I will simply add some information about the use of cvsnt 2.0.58d (here I will mainly introduce some different places, the same is omitted, or refer to the above article ). Eclipse is still in version 3.0.1. The current version is 3.1m4, and the usage of CVS remains unchanged. Cvsnt 2.0.58d http://www.cvsnt.com/cvspro/ installation is nothing to say, directly install is.
Note:
After the installation, choose Control Panel> Administrative Tools> services. You can see that the statuses of the cvsnt and cvsnt locking services are "started" and the startup types are "automatic ". If you do not want to run the twoProgram, You can change the Startup Type to "Manual" (which can save some memory ). To start them again, you can control them through "Service Control Panel" in the cvsnt program group.
Section 1 install and configure cvsnt Configure CVS server 1. start-> All Programs-> cvsnt-> service control panel, the following window appears: (the default status after installation is running) 2. switch to the Advanced page: there is nothing to modify here, by default. 3. switch to the inverted Repositories page and click "add" to create a project library. Here, I create a directory D:/cvsfile and click "OK". A dialog box is displayed. Click "yes. Section 2: configure the CVS client in eclipse Let's talk about how to configure the CVS resource library. Other steps are similar to those in previous articles.   Create an account: In the previous article, there was a method to create an account: Computer Management-> local users and groups-> users. Now we can use this method to find that it is always unable to work well with the CVS connection, so we do not advocate this method anymore. This section describes how to create a user account. Choose Control Panel> User Account> Create a new account. Here, the name is "javamxj". Select "restricted" for the Account type (which can be safer ), click "create account ". Double-click the "javamxj" account and click "create password". The selected password is "javamxj ". Now, an account is created. Host : The Host Name of the CVS server, which can also be its IP address. Because it is a local host, enter "localhost" Resource library path : In the previous section" Install and configure cvsnt "Step 2" switch the "name" item in the inverted Repositories page ", in this example,"/cvsfile ". Authentication : Enter the account name and password you just created. Connection Type : Selecting "pserver" is the most common way to remotely access CVs. It is recommended that you select "Save Password". You do not need to enter the password again. In addition, when using CVS, note that the package name used during project creation should not contain the word CVS separately to avoid Directory Name Conflict.

    Section 3 how to obtain source code from the network   We all know that the plug-in easystruts for eclipse is used to develop struts. However, its version has not been updated for a long time, and it has been incorporated into myeclipse (unfortunately, it requires money). This project is down. If you still want to use it, either use a lower version of eclipse or modify the source code of easystruts to make it suitable for a higher version of eclipse. The following describes how to use CVS to obtain its source code. Http://sourceforge.net/projects/easystruts easystruts's main site. Click the CVS link from the page above, that is, the http://sourceforge.net/cvs? Group_id = 54542 switch to the CVS page. There is a saying:
Anonymous CVS access

This project's sourceforge.net cvs repository can be checked out through anonymous (pserver) CVs with the following instruction set. The module you want to check out must be specified asModulename. When prompted for a passwordAnonymous, Simply press the Enter key. To determine the names of the modules created by this project, you may examine their cvs repository via the provided web-based cvs repository viewer.

CVS-D: pserver: anonymous@cvs.sourceforge.net:/cvsroot/easystruts Login
 
CVS-Z3-D: pserver: anonymous@cvs.sourceforge.net:/cvsroot/easystruts Co Modulename    Note that the above bold line mainly configures CVS based on it. After clicking "finish", if the network is normal, you can see the following figure: Select easystruts-plugin, right-click and check ....... to obtain its source code.
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.