导入的Eclipse项目没有链接到ClearCase [英] imported Eclipse project not linking to ClearCase
问题描述
我导入到Eclipse的其他项目会自动链接到ClearCase,但不是这个。
我甚至为这个视图创建了一个单独的工作区,还有一些项目会被链接,而其他的则不会。它甚至不依赖于项目;这是任意的。
任何想法?
感谢您提供任何有用的提示!
如果您希望您的Eclipse项目与ClearCase相关联,那么您可以使用
.project
和 .classpath
(Eclipse项目定义文件)也需要 在同一个ClearCase视图中,直接放在源代码旁边。 换句话说,您不能在ClearCase视图中创建一个项目(默认情况下在Eclipse工作区中)引用源代码:由于您的工作区不在任何ClearCase vob中,因此无法工作。但是如果你创建一个项目的根目录(其中 .project
和 .classpath
将被创建)在源目录的上方,在一个ClearCase存储库(Vob)中,那么你将能够连接到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'.
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.
Any ideas?
Thanks for any helpful tips!
If you want your Eclipse project to be associated with 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.
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.
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屋!