CVS OverviewThe main role is to manage the code version, especially when multiple people develop collaboratively.
Download cvsnt
Install cvsntThe installation process is relatively simple:
CVS server configurationFirst, open the server, choose Start> program> cvsnt control panel, and select repository configuration ], open the following interface to configure the storage location of the resource. Click Add to display the following interface. Location: Enter the location where you want to store the file. Name: The name you give the resource. Others can be set by default. On the server settings page, modify the location of temporary. This completes the configuration of the CVS server.
Add a user to the SystemTo allow users to access this server, they can configure their own users or use the system users. We add users to the operating system. The process is as follows: Right-click my computer and choose manage. The following page is displayed. Add two users, zhangsan and Lisi, respectively ".
Configure CVS resources in eclipseFirst, select the resource configuration view and choose Window> open perspective> other. the operation procedure and result are as follows: Select cvs repository processing. The following interface is displayed: for example, in the operation process, the following interface is displayed: enter relevant information, and then the following configured interface is displayed: You can switch the interface to the Java resource management interface through the following operations:
Share a project with the CVS serverTo share a project to the server, first select the corresponding project. Right-click and choose team> share project, as shown in. The following page is displayed: select the configured CVS connection, select next. The following interface is displayed: select the project name in this interface, and then click Next. The following interface is displayed: The following interface is displayed, the information to be submitted to the server is displayed. Click Finish to complete the sharing process. Enter the following interface to enter the comments during submission, and click Finish to complete sharing.
Download a project from the CVS serverTo download a project from an existing Server, follow these steps: Select File> import, as shown in the following figure: select to use the existing resource configuration in the following interface (you need to configure it in advance, which is available in front of it ). Next, select the Project name: select the export method and select work space. Select where to start the import. All data is imported by default. The imported results are as follows:
Compare the differences between the local directory and the directory on the serverTo compare the differences between the local directory and the server directory, select the corresponding folder and right-click and select. Prompt the following information. OK. The comparison result is as follows: if there is no difference, the following information is displayed.
Submit a new file
Compare the differences between server files and local files
Submit the modified File
Download the latest file