Question

When attempting to set up an 'External Tool' in Eclipse, there are a great deal of variables that deal with project location, workspace location etc - but not any for reference to the Copy View Area - i.e. Where your CCRC view starts.

This would be very useful for referencing tools that may be in a VOB external to the Java Project you are working in within a view.

Does anyone have any suggestions as to how I can retrieve the copy view area as a variable in Eclipse?

Thanks,

Stuart

Was it helpful?

Solution

In general, referencing an external path in done through a Linked Resource Variable, which you can then refer in your project through a linked folder.
Your external tool launcher configuration can then use a 'project_path' variable to reference it (or 'resource_loc' to obtain the absolute file system path of a workspace relative path resource).

Now, regarding CCRC, I check (and launch my own CCRC right now).
However, a CCRC "web view" is actually a snapshot view, meaning the "Copy View Area" would actually refer in this case to the root of a snapshot view.
And there is no way to "deduce" the root of a snapshot view in ClearCase (actually, you can even have several roots for "one view"! Just copy the hidden .view file wherever you want, and that directory will become the new root of your unique snapshot view!)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top