In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article is to share with you about how to use CVS under MyEclipse. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
CVS application 1, CVSNT installation under MyEclipse
The installation file is: cvsnt-2.5.03.2382.msi, double-click the file to start the installation.
After installation, you can find CVSNT Control Panel in the control panel or from the start menu, and click to enter the control panel of CVSNT. Figure 1:
Service
Figure 1 Control panel of CVSNT
At this point, two services (Service) are started: CVSNT and CVSNT Lock.
CVS application under MyEclipse 2. Create a library (Repository)
Figure 2 CVS library configuration
Click the Add button to configure CVS's library, as shown in figure 3:
Figure 3 configuring the CVS library
Press the OK button, if the D:/CVSRepo directory does not exist, you will be prompted whether to create the directory, click to create the directory, the local D disk will appear as shown in figure 4 directory structure.
Figure 4 the corresponding directory structure of the CVS library
In this directory structure, where CVSROOT is the directory used by the administrator.
CVS application under MyEclipse 3. Create users
Add a user, such as cvsUser1, to the user management of start > Administration > computer Management. In a team, how many developers can create multiple users.
These are the settings on the CVS server side. The following shows how the client uses CVS,Eclipse itself to provide the functionality of the CVS client.
CVS application under MyEclipse 4. Join CVS library in Eclipse
Open the CVS Repository Expolring perspective in window > Open Perspective of Eclipse (if this option is not available in the context menu, you can open the CVS Repository Expolring perspective from other. Select from the menu item), in the blank area of the CVS Respositories View window (figure 5), right-click to pop up the context menu, CVS > Repository Location. Open the window, as shown in figure 6
Right-click pop-up menu
View
Figure 5 CVS Respositories View window
NT user name
Library name set on the CVS server
The name of the machine where the CVS server is located
Password for user name
Type of connection to the CVS server
Figure 6. Add CVS library
Press the finish button to complete the setup.
CVS application under MyEclipse 5. Add the project to the CVS library
For example, create a project called CVSTestProj and write a HelloWorld class in it (suppose under the package demo), and now add the project project to the cvs library.
Right-click the project name, and in the pop-up context menu, select Team > Share Project, as shown in figure 7:
Select the built CVS library
Figure 7 adding a project to the CVS library
Using the default options below, press next until finish.
At this point, a directory about the project and related files will be added under the corresponding library directory file on the CVS server, as shown in the following figure:
Figure 8 CVS library directory
The related files are stored in the form of the file name of v, such as HelloWorld.java,v. There is also a corresponding flag in Eclise to indicate that the file has been added to the CVS library, as shown in the following figure:
Note the flag that the file has been added to the CVS library
Figure 9 CVS library directory
If you create a new file, you can add the new file to the CVS library with team > add Version to Control in the pop-up context menu for version control.
CVS application under MyEclipse 6. Import the project in the CVS library into the workspace of Eclipse
Enter the import window from File > import, as shown in figure 10: select CVS,Projects From CVS, press the next command button, enter the select project window from the CVS library, as shown in figure 11, select to use the existing library
Figure 10 importing a project from the CVS library (1)
As shown in figure 12, select the project in the library, * *. In figure 13, press Finish to enter the New Project window. At this point, press the create Project wizard to create the project.
Select the project place library
Figure 11 importing a project from the CVS library (2)
Select Project name
Figure 12 importing projects from the CVS library (3)
Figure 13 importing a project from the CVS library (4)
Thank you for reading! This is the end of the article on "how to use CVS under MyEclipse". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.