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