如何获取“复制视图区域” CCRC 作为 Eclipse 中的变量?

发布于 2024-07-23 22:40:02 字数 212 浏览 2 评论 0原文

当尝试在 Eclipse 中设置“外部工具”时,有大量变量涉及项目位置、工作空间位置等,但没有任何变量可用于引用复制视图区域,即 CCRC 视图的起始位置。

这对于引用可能位于您正在视图中使用的 Java 项目外部的 VOB 中的工具非常有用。

有人对如何在 Eclipse 中将复制视图区域检索为变量有任何建议吗?

谢谢,

斯图尔特

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

靖瑶 2024-07-30 22:40:04

一般来说,引用外部路径是通过链接资源变量完成的,然后您可以通过 链接文件夹
然后,您的外部工具启动器配置可以使用“project_path”变量来引用它(或“resource_loc”来获取工作区相对路径资源的绝对文件系统路径)。

现在,关于 CCRC,我检查(并立即启动我自己的 CCRC)。
但是,CCRC“Web 视图”实际上是快照视图,这意味着在这种情况下“复制视图区域”实际上指的是快照视图的根。
并且无法在 ClearCase 中“推断”快照视图的根(实际上,您甚至可以为“一个视图”拥有多个根!只需将隐藏的 .view 文件复制到任何您想要的位置即可,该目录将成为您独特的快照视图的新根!)

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!)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文