开发者

Can Eclipse ignore .cvsignore files when synchronizing with a CVS repository?

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 reposi开发者_StackOverflow社区tory. 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜