imported Eclipse project not linking to ClearCase

只谈情不闲聊 提交于 2019-11-28 11:39:57

问题


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!


回答1:


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.



来源:https://stackoverflow.com/questions/4432945/imported-eclipse-project-not-linking-to-clearcase

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!