RAD:无法从 Clearcase 视图导入项目

发布于 2025-01-07 18:45:09 字数 642 浏览 1 评论 0原文

我正在 RAD 上进行开发,使用 Clearcase 作为源代码控制工具。

这是我想要做的:

  1. 我创建了新项目并将它们添加到视图 A 中的源代码管理,交付视图 A,然后创建一个新基线
  2. 我创建了视图 B 并将其重新设置为最新基线
  3. 我在 RAD 中创建了一个新工作区,并尝试从视图 B 导入项目,现在问题发生了,视图 B 中没有显示任何项目,但是当我选择视图 A 时,这些项目存在

有人知道吗?是否有任何命令可以列出视图 B 中的所有文件,以便我可以确保问题与变基无关?我真的不知道该检查什么来解决这个问题。

这是我如何解决问题的更新:

感谢 VonC 的线索,RAD 使用的一些文件没有添加到源代码管理中,使得项目不可见...

  1. 在 RAD 中,单击 Window->Preferences
  2. 在弹出窗口中,打开 Team->Ignored Resources 部分
  3. 搜索以下模式:“.project”、“.factorypath”、“.classpath”。如果您找不到这些模式,那也没关系,否则,请取消选中它们,这样 RAD 就不会绕过这些文件。
  4. 运行“查找要添加到源代码管理的资源”以将丢失的文件添加到 ClearCase

I am doing my development on RAD, with Clearcase as the source control tool.

Here is what I trying to do:

  1. I created new projects and added them to source control in view A, delivered view A, then make a new baseline
  2. I created view B and rebase it to the latest baseline
  3. I created a new workspace in RAD, and try to import projects from view B, now problem happens, no projects is shown in view B, but when I choose view A, those projects exists

Does anyone have idea? And is there any command that I can list out all files in view B so that I can make sure the problem is not about the rebase? I really don't know what to check for this problem.

This is to update on how I resolved the problem:

Thanks for VonC's clues, some of the files used by RAD was not added to source control, making the projects invisible...

  1. In RAD, click Window->Preferences
  2. In the popup, open the section Team->Ignored Resources
  3. Search for the following patterns: ".project", ".factorypath", ".classpath". If you cannot find these patterns, that's fine, otherwise, uncheck them so that RAD would not bypass these files.
  4. Run "Find Resources to Add to Source Control" to add the missing files to ClearCase

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

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

发布评论

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

评论(1

爱情眠于流年 2025-01-14 18:45:09

一种可能的解释是 RAD 项目文件(至少 .project)是私有的(即:没有版本控制)。

这些文件在 viewA 中可见,但在 viewB 中不可见,因为后者仅显示已版本化和基线化的内容。

One possible explanation would be that the RAD project files (at least the .project) are private (that is: not versioned).

Those files would be visible in viewA, but not visible in viewB, as the latter only display what has been versionned and baselined.

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