ernesto
ernesto

Reputation: 1989

Can't do ClearCase operations on include files in Eclipse CDT with IBM SCM Adapter plugin

When we create a project in Eclipse CDT with the source code in clearcase, SCM adapter plugin won't show any controls to perform clearcase operations on include files(files under "Includes" tag in project layout).

I can do all operations on source files. I observed that any of the include files are not attached with Eclipse propertypages (do Alt+Enter, it says "No property pages found..."). Could this be the reason?

I wonder why include files doesn't have propertypages like source files in the first place!

Upvotes: 1

Views: 190

Answers (1)

VonC
VonC

Reputation: 1323573

The way that SCM adapter works is that it will consider the source files under the directory where your .project and .classpath are located (for details on that principle, see "Clearcase plugin for eclipse usage": at least the .project must be in a ClearCase view).

If those include files aren't "source files" or are stored outside that project directory, they will be ignored by that ClearCase adapter.
More precisely, if those files ("resources") aren't directly referenced in the .project, the ClearCase SCM adapter will ignore them.

The OP comments:

We have a project structure with linked resources wherein all files are located outside of Eclipse project directory (i.e., outside the directory where .project file resides).
Yet, the plugin allows us to checkout source files, but not include files.

May be the SCM plugin is scanning the .project file alone to identify resources, rather than checking the directory structures.

He confirms that those include files are, actually, "Discovered" (and not resources directly referenced by the .project file)

Discovered Paths in CDT project

Those kind of resources ("discovered") are likely to be ignored by the ClearCase SCM adapter.

Upvotes: 1

Related Questions