I have written an article for some time, introducing how to "use CVSNT in Eclipse 3.0 using version control system CVS", link is
Http://blog.9cbs.net/javamxj/archive/2004/10/12/132904.aspx. At that time, the version of the CVSNT I used was 2.0.51D. Soon, the version of the CVSNT has been upgraded many times, and it is easy to have some small problems with previous articles. Here I simply add some information on the CVSNT 2.0.58D version (here mainly introducing some different places, the same is slightly, or to refer to the above article).
Eclipse is used or version 3.0.1, the current version is already 3.1m4, and the basic change in CVS is not large.
CVSNT 2.0.58D
http://www.cvsnt.com/cvspro/
There is nothing to say, it is installed directly.
note
After installation, through the Control Panel -> Administrative Tools -> Services: You can see the status of both CVSNT and CVSNT LOCKING Service "Start", the startup type is "automatic". If you don't want to run both programs every time you turn it on, you can change the start type to "manual" (can save point memory). To start them, you can control them through "Service Control Panel" in the CVSNT program group.
First quarter installation and configuration CVSNT
Configuring 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, default.
3. Switch the reositories page, click the "Add" button to create a project library, here I create a D: / cvsfile directory,
Click OK, there will be a dialog box, click "Yes".
Section 2: Configuring CVS Client in Eclipse
Talk here to configure the CVS repository, and other steps are similar to the previous article, just don't say it.
Create an account:
Among the previous article: Method for creating an account: Computer Management -> Local User and Group -> User. Now use this method, it is always impossible to cooperate with CVS connection well, so it is no longer advocated to use this method. Here you will create it through "User Account".
Create a new account by control panel -> User account ->: Here I entered the name "javamxj"; pick the account type to select "limited" (this can be safe), then click "Create Account". Double-click the "JavaMxj" account, click "Create Password", here I have selected the password is "javamxj". Ok, so, an account is created.
Host: The host name of the CVS server can also be its IP address, because it is a local host, so fill in "localhost"
Resource library path: in the previous section "
Installation and Configuration CVSNT "Step 2" Switch "Name" item in the Repositories page;
In this case "/ cvsfile".
Certification: Fill in the account name and password you just created.
Connection Type: Select "PServer" is the most frequently used CVS remote access method.
It is best to check the "Save Password" without entering the password again.
In addition, there is a point when practical CVS:
When you create a project, the package used should not contain the word CVS alone to avoid the conflict of the directory. How to get the source code from the network
I want everyone to know the plugin for Easystruts for Eclipse, which is used to develop Struts. However, its version has not been updated for a long time, it is incorporated with myECLIPSE (but unfortunately, this project is Down. If you still want to use it, use a lower version of Eclipse, or modify Easystruts source code so that it is suitable for higher version of Eclipse.
Here is how to get its source code using CVS.
Http://sourceforge.net/projects/easystruts Easystruts master site.
Click the "CVS" link from this page, ie
http://sourceforge.net/cvs/?group_id=54542
Switch to the CVS page. There is such a paragraph:
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 wish to check out must be specified as the modulename. When prompted for a password for anonymous, simply press the Enter key To determine the names of the modules create 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
Pay attention to the bold line above, mainly according to it to configure CVS.
After clicking "Finish", if the network is normal, then you should see the following picture:
Select Easystruts-plugin, right-click -> detect it ....... You can get its source code.