Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.1k views
in Technique[技术] by (71.8m points)

apache flex - imported Eclipse project not linking to 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!

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...