当与CVS存储库同步时,Eclipse可以忽略.cvsignore文件吗? [英] Can Eclipse ignore .cvsignore files when synchronizing with a CVS repository?
问题描述
为此,我们不应该将任何IDE特定的文件(例如.project,.classpath)提交到CVS存储库。我相信这第二部分可能是过度的...但是我们也不应该提交我们的.cvsignore文件,其中包含单个IDE特定文件的过滤器。
每次与存储库同步时,我的.cvsignore文件周围都有一点点麻烦。有没有办法阻止Eclipse在团队同步视角中显示这些文件?
您可以添加模式到窗口 - >首选项 - >团队 - > CVS - >忽略资源。这应该导致Eclipse Team CVS在提交时忽略该文件。
I am working with a team environment with a heterogeneous blend of IDE's among different developers. Some use Eclipse, others NetBeans, others IntelliJ, etc. The code projects are all structured around Maven... so nobody cares which IDE you use as long as it can play with Maven.
To that end, we're not supposed to commit any IDE-specific files (e.g. ".project", ".classpath") to the CVS repository. I believe that this second part may be overkill... but we're also not supposed to commit our ".cvsignore" files, which contain filters for our individual individual IDE-specific files.
It's a bit of a hassle dodging around my ".cvsignore" files every time I sync with the repository. Is there a way that I can prevent Eclipse from displaying those files in the "Team Synchronizing" perspective?
You can add patterns to Window -> Preferences -> Team -> CVS -> Ignored Resources. This should cause Eclipse Team CVS to ignore the file when commiting.
这篇关于当与CVS存储库同步时,Eclipse可以忽略.cvsignore文件吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!