Part 1: Upload new project
The new project is passed to the CVS server warehouse.
1. Create a CVS working directory in the local first, such as E: / CVS / Client (you can refer to the CVS Job Guide Manual "http://blog.9cbs.net/junnef/archive/
2005/04/04 / 335728.ASPX).
2. Create a project through JBuilder 2005, such as Trader (see "jbuilder2005 jboss-
4.0.2rc1 J2SDK1.5 Log4J Developed Session Bean Examples (1-4) "Create Project http://blog.9cbs.net/junnef).
3, copy the project's folder to the TRADER file to the E: / cvs / client directory (you can also directly upload your current TRADER directory, not too big).
4. Open the TRADER project under the E: / CVS / Client directory> Team menu> Select Project VCS> Select CVS> OK.
5, Team Menu> Place Project INTO CVS Fill in the configuration shown below (assuming the directory specified by the server is E: / CVS / Server)
Click the Next button, the default content can also be filled in the description of this project.
In the following page, you can select the content you want to upload, we directly default, then, click Finish.
At this point, there will be an upload state dialog that appears, and finally Project successfully placed Into CVS means upload success.
Supplementary description, here Junsan is an administrator name of the CVS server. Since the operating system uses the user login, do not enter the user password, if you are logged in with the other user with CVS, you may pop up the password input box, Just enter the corresponding user password.
Part II: Get the already existing project
1. Open JBuilder 2005.
2, New Menu> Projects> Pull Projects from CVS> OK.
3. In the pop-up dialog box, enter E: / CVS / Client / NewTrader from other defaults> Next.
4, in the next dialog, select the PServer; port does not fill, if the default port is changed, write the corresponding one; Server fills in the machine IP where the CVSNT server is located, here is 223.255.1.54; user name fill in the corresponding User name, here is Junsan> Next.
5. In the next dialog page, the warehouse directory fills in / cvs / server, the module name is filled in Trader, and the other unchanged> Next> Finish.
Finally, Success will be prompted at this time in E: / CVS / Client / NewTrader, there is a same project, as in Trader, we can also edit the project here.
Part III: Some operations in jbuilder2005
1, UPDATE command
Before we edit a file, we must first update the latest file. If we now want to modify the Test.java file, select Test.java Right Menu> Update "Test.java" in the tree menu on the left of JBuilder.
After we edit the file, the system will prompt the message of Modify.
2, commit command
Upload our edited file, such as upload test.java, the same operation as Update is selected as soon as you choose a commit "Test.java" menu. Other CVS menu operations are common commands for CVS, such as adding a new file to CVS warehouse, not much explanation here. There will be more available items in the Team menu for use. For more explanation, please refer to the help documentation of JBuilder2005: Contents> Managing Application Development> Using Concurrent Versions System (CVS)> CVS in JBuilder, Working on a new project in CVS and working on instructions in case of CVS an existing projects.