且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

导入的 Eclipse 项目未链接到 ClearCase

更新时间:2022-06-21 10:40:07

如果您希望您的 Eclipse 项目与 ClearCase 相关联,

If you want your Eclipse project to be associated with ClearCase,

  • 不仅您的来源需要在 ClearCase 视图中
  • 但是您的 .project.classpath(Eclipse 项目定义文件)需要位于同一个 ClearCase 视图中,就在来源.
  • not only your sources need to be in a ClearCase view
  • but your .project and .classpath (Eclipse project definition files) need also to be in the same ClearCase view, right beside the sources.

换句话说,您不能在 ClearCase 视图中创建引用源的项目(默认情况下在您的 Eclipse 工作区中):因为您的工作区不在任何 ClearCase vob 中,所以它不会工作.

In other word, you cannot create a project (which would by default be in your Eclipse workspace) referencing sources in a ClearCase view: since your workspace is not in any ClearCase vob, it won't work.

但是,如果您创建一个项目,其根目录(将在其中创建 .project.classpath)就在源目录的正上方,在 ClearCase 存储库中(Vob),然后您就可以将其连接"到 ClearCase.

But if you create a project with its root directory (where the .project and .classpath will be created) just above the source directory, within a ClearCase repository (Vob), then you will be able to "connect" it to ClearCase.