Section III Create a CVS instance
1. First create a new project "Hello World CVS" in Eclipse, build a "helloWorld" class (Note 1), just simply output the statement "HelloWorld!".
2. Share this local project into the repository. Open the Java view, select this item, right click -> Group -> Sharing Project:
After the prompt window, press "Next" until there is a "Add to CVS Version Control" dialog box, click "Details", you can choose which resources added to the CVS repository, here no choice "/ Hello World CVS / BIN "directory (it's not a source code), then click" Yes ".
The "Submit" dialog appears, you can choose not to add a comment, but it is best to add. (Note that each submission will prompt to enter a comment, which is very important, as a description and prompt of each state.)
After completing all local files, then you can use the powerful version of the CVS.
Note 1: When I first started the package name "cvs.test", the problem occurred when the project was shared, and the question was changed to "cvs1.test" in CVS. . The reason is to create a CVS directory when using the "cvs.test" package name, and sharing the repository, also create a CVS directory, and the result directory name conflicts. So the package is not used separately with CVS.