Post: Configure CVS in myeclipse

Source: Internet
Author: User
1 cvsnt InstallationThe Installation File is: cvsnt-2.5.03.2382.msi, double-click the file to start the installation. After the installation is complete, you can find the cvsnt control panel in the control panel or from the Start menu, and click to enter the control panel of the cvsnt. 1:

Service

Figure 1 control panel of cvsntTwo services are started: cvsnt and cvsnt lock. 2. Create a database (repository) Figure 2 CVS Database ConfigurationClick the Add button to configure the CVS library, as shown in Figure 3: Figure 3 configure the CVS LibraryPress the OK button. If the D:/cvsrepo directory does not exist, the system will prompt whether to create the directory. Click "create directory". The directory structure shown in "4" appears on the local D disk. Figure 4 directory structure of the CVS DatabaseIn this directory structure, cvsroot is the directory used by the Administrator. 3. Create a userIn Start> Manage> Computer ManagementAdd a user, such as cvsuser1. Multiple developers can create multiple users in a team. The preceding settings are used on the CVS server. The following describes how the client uses cvs. Eclipse provides the features of the CVS client. 4. Connecting the CVS library in eclipseIn eclipse Window> open perspectiveOpen the CVS Repository expolring perspective (If this option is not available in the context menu... Select from the menu items). In the blank area (5) of the CVS respositories View window, right-click the context menu and choose CVS> repository location ..., Open Window 6.

Right-click menu

View

Figure 5 CVS respositories View window

NT Username

Name of the database set on the CVS server

Name of the machine where the CVS server is located

Password corresponding to the user name

Connection type with the CVS server

Figure 6 Add a CVS LibraryClick Finish. 5. Add the project to the CVS LibraryFor example, create a project named cvstestproj and write a helloworld class in it (assuming that it is under the package demo). Now add the project to the CVS library. Right-click the project name and choose Team> share project, 7:

Select the created CVS Library

Figure 7 Add a project to the CVS LibraryClick Next to finish. In this case, the Directory of the project and related files will be added to the corresponding library directory file on the CVS server, as shown in: Figure 8 CVS library directoryRelated files are stored in the form of V file names, such: Helloworld. Java, V,In eclise, the corresponding flag indicates that the file has been added to the CVS library, as shown in:

Note the mark that the file has been added to the CVS Library

Figure 9 CVS library directoryIf you create a new file, you can use Team> Add version to controlAdd the new file to the CVS library for version control. 6. Import the project in the CVS Library to the eclipse WorkspaceEnter the import window from File> import, as shown in Figure 10: Select CVs, projects from CVS, and press the next command to enter the select project window from the CVS library, as shown in Figure 11, select an existing database, Figure 10 From CVS Import project to the database (1)12. Select the project in the database. Finally, in Figure 13, press finish to enter the new project window. Then, follow the Create Project Wizard to create the project.

Select the CVS library of the project.

Figure 11 From CVS Import a project to the database (2)

Select project name

Figure 12 From CVS Import project in Library (3)

Figure 13From CVSImport project in Library (4)

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.