Java Web practice topic-Use of CVS in eclipse

Source: Internet
Author: User

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

 

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.