How to use CVS in eclipse

Source: Internet
Author: User
How to use CVS in Eclipse  

1. Before the eclipse synchronizes with the CVS server, refresh it first, or it may cause synchronization errors due to files edited outside of Eclipse that are not refreshed in eclipse, and you can set eclipse to automatically refresh, and how to:window-> Preferences->workbench, select the Refresh workspace automatically. Even so, the problem may still occur because eclipse refreshes may have a certain delay, so in case of an error, manually refresh and then sync.

2. Commit all documents before leaving the company after work, update all files after work, and revise the error message in the version submitted yesterday according to the daily build report.

3. Before modifying the file, update it first, make the version as new as possible, if there is a conflict, it will be less work. If it is common use, and often modified documents, such as Constants.java, Struts-config.xml and other documents, but also to be so, it is best to inform other people commit.

4, in the file conflict, you should first compare to the server side of the changes to the local, unclear where to communicate with other people, after the completion of the merge, select Override and Commit update, prohibit no comparison of the override and commit operations.

5, CVS does not allow the deletion of server-side files, so it is best not to submit temporary files and temporary directories, such as compiled files and directories generated.

6, different functional modules of the file separate commit, the same function module of the file a commit, for analysis of errors, reduce conflict, version of the fallback and so help.

7, submitted documents must be tested, at least to ensure that the local can be compiled through the convenience of other people to test.

8, graphics files and classes directory do not join Cvs,eclipse engineering documents Also

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.