CVS stands for Concurrent Versions System, which is mainly used to manage Source code , Documents and other information, record their update history, so that the development team members can better collaborate. The CVS version control system adopts the C/S architecture. Currently, the CVS server supports Linux, Windows 2000/XP/2003, and some Unix (such as Sun's Solaris ), CVS client has corresponding versions on Linux, windows, and UNIX.
The CVS client has been built in eclipse. We recommend that you install the CVS server on Linux, UNIX, and other operating systems in the eclipse documentation. However, in most of our development, using CVS server for Windows is still the most convenient and quick way, although it may not be as stable as Linux and UNIX versions.
The software you need to prepare before the formal Configuration:
1. Eclipse http://blog.csdn.net/javamxj/archive/2004/10/11/131952.aspx
The latest version is 3.0.1.
2. CVS server for Windows http://www.cvsnt.com/cvspro/
The latest version is 2.0.51d.
(For more information about how to use cvsnt 2.0.58d, see the http://blog.csdn.net/javamxj/archive/2005/01/05/240726.aspx)
Main content:
1. install and configure cvsnt;
2. Configure the CVS client in eclipse;
3. Create a CVS instance;
4. Practice CVS;
Section 1 install and configure cvsnt
Install cvsnt directlyProgramInstall it.
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 inverted Repositories page and click "add" to create a project library. Here I create a new D:/cvsfile directory,
Click OK. A dialog box is displayed. Click "yes.
3. Switch to the Advanced page: select the following:
You must select use local users for pserver and pretend to be a Unix CVS server. The former requires that the CVS server use Windows Local Users for permission authentication, if domain user permissions are used, all client development machines must log on to the Windows domain to connect to the CVS server, which is troublesome. The latter forces CVS server for Windows to simulate unix cvs server. Only in this way can eclipse connect to CVS server for windows!
4. After confirmation, restart the CVS service and CVS lock service.