Basic usage of Eclipse +CVS (i)

Source: Internet
Author: User

Most of the time when we are doing project development, we will use CVS, and now let me introduce you to how to use the CVS management feature under Eclipse, and Eclipse itself is self-bringing CVS, so we simply set it up to connect to the CVS server.
See

Click on the CVS icon when this screen appears, click on the left-hand side of the space to create a new repository location, such as

After entering the information, click Finish, set up the connection with the CVS server, below we open the directory on the CVS server

For directories on the CVS server, we can check out a check-out as a project and the catalog will be checked out to automatically generate a project in eclipse.
You can also check out a directory to any project that is (checked out to) This feature, it is important to note that only the files checked out, after the modification can be submitted. Here's how to do the file:

For files, our most commonly used is to compare CVS in the different versions of the file, convenient for us to find the update there is no problem, click on any of the files right click on the image above, and then we use in the resource history display, see:

We Ctrl-click the mouse to select two versions of the file, and then click the right mouse button, click on the comparison can compare this file between the two versions of the difference.

Let's see how to update the files on the CVS server, as mentioned earlier, only files checked out from the CVS server can be updated and submitted, see

Select any of the checked out files in the project, click the right mouse button, select the group, you can see the submission and update a lot of features. As soon as you make the changes, click Submit to submit to the CVS server, click Update is from the CVS server to fetch files to update local files, it is important to note that when we build the project is the source code files and compiled class files are different directories, is not able to send class files, This can cause problems with files on the CVS server, which can only be copied separately to the upload directory, because the project compiles the CVS directory under the original file into the class file, which can cause this problem.
The following by the way a history of Eclipse local files feature, see in the comparison and replace, is eclipse a local history function, help you can restore the previous or compared with the previous file features. See
I believe you will understand this function at a glance.
About ECLIPSE+CVS basic ability to use is actually very simple, we try to know, I use the most in the project is its comparison function, for file upload I still use CVS client program, because the source code directory and class file directory is different, so it is more secure, I hope
These can help you to use CVS in Eclipse. If you have questions, please note.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.