导入的 Eclipse 项目未链接到 ClearCase [英] imported Eclipse project not linking to ClearCase
问题描述
我将一个项目从 ClearCase 导入到 Eclipse 中,但它与 ClearCase 无关;意味着没有签入/签出.我在团队"下唯一得到的是应用补丁"或共享项目".
I imported a project from ClearCase into Eclipse and it's not associated with ClearCase; meaning no check in/check out. The only thing I get under 'Team' is 'apply patch' or 'share project'.
我导入 Eclipse 的其他项目会自动链接到 ClearCase,但不是这个.
Other projects I import into Eclipse are automatically linked to ClearCase, but not this one.
我什至为此视图创建了一个单独的工作区,但仍有一些项目会被链接,而另一些则不会.它甚至不依赖于项目;这是任意的.
I even created a separate workspace for this view and still some projects will be linked and others not. It's not even dependent upon project; it's arbitrary.
有什么想法吗?
感谢您提供任何有用的提示!
Thanks for any helpful tips!
推荐答案
如果您希望您的 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.
这篇关于导入的 Eclipse 项目未链接到 ClearCase的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!