[Import] [tips] "add to. cvsignore…" When synchronizing CVS under eclipse ..." Why menu items are dimmed

Source: Internet
Author: User

When using eclipse as a CVS client during development, you may encounter a situation where you find that some files do not need to be managed by CVS, such as many intermediate files and Source codeIt takes a long time to automatically generate a file. On the one hand, it affects the performance of CVs, on the other hand, it also adds additional work for synchronization, and the source that actually needs to be uploaded. CodeMixed up, looks very uncomfortable. You can add these files to. cvsignore at this time, but no matter what you do, the "add to. cvsignore" menu items are always grayed out.

Why? The answer is that "add to. cvsignore" only works for files that have not been added to version control. Therefore, for those files that have already been added, the menu will be disable.

A thorough but brutal solution is to disconnect the project from CVS, delete all CVS directories, delete the directory of the project on the CVS server, and create a new project in all the places needed locally. cvsignore file (for Windows users, you cannot create such a file in explorer, but you can only create it using the command line or programming method). Just like the CVS directory, each directory has one to open. add entries to be ignored by CVS in text format in the cvsignore file, such :"*. EXE "," bin ", and so on. And then synchronize with CVS. The ignored entries (files or the entire subdirectory) will no longer appear in the synchronized file list.

Dawei comments

ArticleSource: http://www.blogjava.net/sean/archive/2006/06/27/55292.html

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.