This article briefly describes the installation of CVS (CURRENT VERSION SYSTEM) in JBUILDER 5. JBuilder 5 integrates the installation of CVS, but to make CVS successful applications in TEAM with multi-person TEAM, it must be folded, and there is not much network connection to connect Type = 'PServer' in JBuilder 5 Help. The explanation, therefore, this article is a simple introduction to CVS in JBuilder 5, I hope to help everyone.
First, CVS installation
As a Server side:
1. Create an engineering project
Use JBuilder 5 to create a new project, such as: Test.jpx, saved in the D: / jBuildTest / Test directory;
2, select VCS
Select the Team | SELECT Project VCS ... menu, open the Select Project VCS dialog, as shown below, select CVS.
3, create a local repository
Select the Team | CREATE LOCAL Repository ... menu, open the Create A Local CVS Repository dialog, as shown below, select an empty directory as repository. Press the Wizard Tip to complete the creation work, and the system prompts to create a success. If an error occurs during the creation process, modify it according to the system prompt.
4. Place the project project into the repository
Select the Team | Place Project Into CVS ... menu, open the Place Project INTO CVS-STEP 1 of 3 dialog.
Select Connect Type = 'Local', enter the path selected in step 3 in the processory path of Module Loc, enter the module name in the Module Name input field, click the 'Next' button, follow the prompts to complete this Step.
After this operation is complete, many of the Team menus have been activated and can be performed accordingly.
5, install CVS service
Copy NTService.exe to copy to CVS.exe in / jbuilder5 / bin / cvsextras directory; then execute under the command line prompt
NTService -i
Where
NTService -i D: / jbuildtest / testcvs
Uninstall the CVS service with the command NTService -U.
6, start CVS service
Start CVS Service: Execute under the command line
Net Start CVS
(Stop CVS Service: NET STOP CVS)
In step 5, the CVS service has been installed into a system service that starts the type 'auto', so in addition to the first startup requires manually started by the above method, the CVS service is automatically started when the machine is installed.
At this point, the installation of the server is all completed.
Client end:
1, Check Out CVS Project
Select the File | New ... menu, open the Object Gallery dialog, as shown below, select Team | Check Out CVS Project, click the 'OK' button to determine.
2. Establishment of local working templates
The system enters the Check Out CVS Project-STEP 1 of 3 dialog. Enter a local template directory in Target Directory, such as D: / JBuildTest / TestClientCVS. Click the 'Next' button to enter STEP 2 of 3
Select Connect Type = 'PServer', enter the CVS service in the server name in the login setting area, enter the logged in user name in the UserName input field. Click the 'Next' button to enter STEP 3 of 3
Enter the value entered when establishing a CVS service in Repository Path and Module Name.
Click the 'FINSH' button to complete the Check Out work.
At this point, complete the client's work, the client can download the file,
Upload and other version management work.
Second, CVS management
Project management
1, project update
TEAM | Update Project ..., perform this command before encoding, download the latest files in Repository to the local.
2, project change browsing
Team | Browse Project Changes ...
3, project submission
Team | Commit Project ...
File management
1, new files
Team | Add ...
2, update file
Team | Update (marge) "filename.java" ...
3, submit a file
Team | commit "filename.java" ...
4, delete files
Team | Remove "Filename.java" ...
5, check the file status
Team | Status for "filename.java" ...
A lot of CVS commands, when you select a file of JBuilder Left Panel. There are related operational options in the pop-up menu, and it is also convenient for our daily operations.
CVS in JBuilder 5's daily management is more detailed in JBuilder 5 Help Team Development Using JBuilder.