禁用要求添加新来源的 Clear Case

Disable Clear Case asking to add new sources

我在 Eclipse 中使用 Clear Case,每当我编译程序或退出 Eclipse 时,Clear Case 都会要求我将特定文件添加到源代码管理中。问题是这些文件不应置于版本控制之下。

这是可以禁用的东西吗?如果是,在哪里?

也可能是我配置有误,因为这是一个我没有找到快速解决方案的问题。

这取决于您的确切客户端或 Eclipse 中的 ClearCase 插件,但是从“Configuring Eclipse workspace preferences”(这里使用基于 Eclipse 的 ClearTeam Explorer),您应该有一个类似于以下的选项:

Automatically add to source control 

if you want the Rational ClearTeam Explorer to add each new resource to source control automatically.

如果您不使用 CLearTeam GUI,而是使用 SCM 适配器,请参阅“ClearCase SCM Adapter preferences”。
When new resources are added”:

  • If you want to be prompted to add any new resources to source control, select Prompt to add to source control.
  • If you want to add any new resources to source control, select Automatically add to source control.
  • If you do not want either option, select Do nothing.