Many times we use the CVS when we do project development, now I will introduce you to how to use the CVS management function under Eclipse, and the Eclipse itself comes with CVS. We just make it connected to the CVS server. Look Now that this picture appears in the figure, click the right button in the blank, you can create a repository location. After entering the information below, click Finish, it is created, the connection to the CVS server, let's open below Directory on the CVS server For the directory on the CVS server, we can detect, one is to detect the project, which will detect the directory to automatically generate a project in Eclipse, or check a directory to any one. In the project, the function is [detection], it is necessary to pay attention to only the file detected, can be submitted after modification. Let's see the operation of the file: For files, we are most commonly used to compare the differences between the various versions of the file in the CVS, so that we look for updates, click on any file, click the right click, you can see the picture above, then we Use the display in the resource history, see the figure below: We hold down the CTRL button to click the mouse to select two versions of the file, then click the right mouse button, click the comparison to compare the difference between this file. Difference. Let's take a look at how to update the file on the CVS server. The front has already told that only the files detected from the CVS server can be updated and submitted. Look at the picture below to select any of the items detected, click the mouse Right-click, select a group, you can see a lot of functions such as submission and updates. As long as you change, click Submit to submit it to the CVS server. Click the update to update the local file from the CVS server, here you need to pay attention, when we create the project is the source code file and compiled class files It is a different directory, it is not possible to pass the document, the password will cause the file problem on the CVS server, and can only copy the class file separately to the directory specifically used to upload, because the project will put the original file when the project is compiled The lower CVS directory is also compiled into the class file, so this problem will result. Below, it is possible to say a history of an Eclipse local file. See the comparison and replacement in the figure above, which is an Eclipse a local history function to help you recover or compare the previous or previous files. Look at the picture, I will understand this feature at all. The basic function of Eclipse CVS is actually very simple. If you try, you will know that the most used in the project is its comparison function. For the file upload me or use CVS client programs, because the source code directory and class file Different catalogs, so this is more secure, hoping that these can help from CVS in Eclipse. If you have any questions, please point out. - Big Belon 2004.10.9