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