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.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…