RAD:无法从 Clearcase 视图导入项目
我正在 RAD 上进行开发,使用 Clearcase 作为源代码控制工具。
这是我想要做的:
- 我创建了新项目并将它们添加到视图 A 中的源代码管理,交付视图 A,然后创建一个新基线
- 我创建了视图 B 并将其重新设置为最新基线
- 我在 RAD 中创建了一个新工作区,并尝试从视图 B 导入项目,现在问题发生了,视图 B 中没有显示任何项目,但是当我选择视图 A 时,这些项目存在
有人知道吗?是否有任何命令可以列出视图 B 中的所有文件,以便我可以确保问题与变基无关?我真的不知道该检查什么来解决这个问题。
这是我如何解决问题的更新:
感谢 VonC 的线索,RAD 使用的一些文件没有添加到源代码管理中,使得项目不可见...
- 在 RAD 中,单击 Window->Preferences
- 在弹出窗口中,打开 Team->Ignored Resources 部分
- 搜索以下模式:“.project”、“.factorypath”、“.classpath”。如果您找不到这些模式,那也没关系,否则,请取消选中它们,这样 RAD 就不会绕过这些文件。
- 运行“查找要添加到源代码管理的资源”以将丢失的文件添加到 ClearCase
I am doing my development on RAD, with Clearcase as the source control tool.
Here is what I trying to do:
- I created new projects and added them to source control in view A, delivered view A, then make a new baseline
- I created view B and rebase it to the latest baseline
- 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...
- In RAD, click Window->Preferences
- In the popup, open the section Team->Ignored Resources
- 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.
- Run "Find Resources to Add to Source Control" to add the missing files to ClearCase
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
一种可能的解释是 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 inviewB
, as the latter only display what has been versionned and baselined.