1 / 29

Rational ClearCase Rational Software

Rational ClearCase Rational Software. 为什么要进行软件配置管理?. 现代的软件系统复杂程度高 众多的开发人员 文件及相关资源多种多样 源代码 目标代码 web 相关内容 文档 模型和设计 需求 测试脚本 多个发布版本 多种平台 软件在不同地点开发. 一些基本的配置管理功能. 存储 和 保护 所有软件资产和相关资源 记录软件所有的 历史变更 what changed? who changed it? when did it change? why did it change? 配置 管理

braima
Télécharger la présentation

Rational ClearCase Rational Software

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Rational ClearCase Rational Software

  2. 为什么要进行软件配置管理? • 现代的软件系统复杂程度高 • 众多的开发人员 • 文件及相关资源多种多样 • 源代码 • 目标代码 • web 相关内容 • 文档 • 模型和设计 • 需求 • 测试脚本 • 多个发布版本 • 多种平台 • 软件在不同地点开发

  3. 一些基本的配置管理功能 • 存储 和保护 所有软件资产和相关资源 • 记录软件所有的 历史变更 • what changed? • who changed it? • when did it change? • why did it change? • 配置管理 • 开发人员工作空间 • 软件建立和版本发布管理 • 使开发人员的工作相互独立

  4. Rational ClearCase • ClearCase 是目前自动程度最高、扩展性最好的解决方案 • Best Solution Enterprise - wide IT Asset Management category* • Rated #1 in SCM** • 超过 140,000 个Licenses • 大于 95% 再购买率 * Source:Crossroads 99 ** Source: IDC 97/98/99

  5. 基本概念 • 1. VOB • 2. 版本(Version),版本树( Version Tree) • 3. 配置(Configuration) • 4. 视图(View) • 5. 视图模板(View Profile) • 6. 并行开发(Paraller Development),分支(Branching),归并(Merging) • 7. 建立管理(Build Management)

  6. 概念1:VOB(Version Object Base) • 存储、管理所有开发资源的版本 • 需求 • 模型 • 二进制文件和源代码 • 测试脚本 • Bitmaps & JPEGs • Html 文件和 CGI 脚本 • 只有 Rational ClearCase 能够管理目录的版本! 统一管理代码、文档、测试用例及可执行文件!

  7. 概念1:VOB(Version Object Base) • 防止不受控的更改 • Rational ClearCase cannot be circumvented • 安全可靠的数据库 • 不基于 RCS 或 flat 文件 • 在多个知识库间实现自动操作 • 根据用户需求调整 严格保证软件资产的安全!!

  8. 概念2:版本,版本树 • VOB Version 0 Version 1 Marty & Doc 1885 Marty & Doc 1955 Version 2 Version 3 Version 4 Not Marty & Doc print.c (latest) Marty & Doc 1985 完整地记录项目的开发历史!!

  9. 概念3:配置(Configuration) • 管理所有文件和目录的版本仅仅是 Rational ClearCase 配置管理解决方案的一部分功能 • 软件产品和源文件是一对多的关系,SCM 需要强大的配置或工作空间管理功能 • 例如: 可能需要成百个 (甚至上千个) 源文件来生成一个软件系统 • Maintaining history is nice, but not enough! • 一个 SCM 系统必须能够重现软件的整个配置,而不能仅限于记录文件的单一版本

  10. 概念3:配置(Configuration) • Think of configuration management as a software time machine: • 我可以 访问最终的文件 • 我可以 访问针对不同平台或不同客户特殊版本的最终文件 • 我可以 访问 6个月前、12个月前、5年前用来建立某一个发布版本的所有文件 • 我可以 访问 2年前用来建立某一版本的所有文件,同时还能够看到这两年以来做的所有 bug 修复,但不需要看到新的东西 一个 SCM 系统应该是实现访问所有上述配置的桥梁!

  11. 概念4:视图(View) print. c print.h main.c print. c print.h main.c Rel. 2.5 View print.c print.h main.c 2.5 Bug Fix View Current Development View ClearCase -业界唯一支持动态视图的配置管理工具!!

  12. 概念5:视图模板(View Profile) 视图模板: 定义规则:确定可以访问哪一个 Versioned Object Bases (VOBs) ,在视图中能够显示什么版本 透明的文件系统: 专利技术 为用户提供选择文件和目录版本的功能 简化视图创建过程,使程序员专注于软件开发,而不必关心ClearCase的使用细节! ClearCase VOB

  13. 概念6:并行开发,分支,归并 • 隔离风险高的工作 • 确保已修复的Bug不再出现 • 归并工具可查找所有未归并的文件 • 在多个版本中同时修复一个Bug • 同时在多种平台发布 • 归并工具可归并多达 32 个文件 • 减少集成时间 • Save months for a project, days for a build

  14. 概念6:并行开发,分支,归并 \main 0 1 db_update Rel1 2 rel2_integration 0 0 3 rel1_bugfix 1 win98_port 1 0 2 4 0 2 1 3 1 3 Rel1.1 2 2 5 3 6 • 灵活的分支 • 自动 • 没有限制 直观的命名方式 Merge Manager 自动指出文件内容冲突 自动归并 Rel2

  15. 概念6:并行开发,分支,归并 易于使用!

  16. 概念6:并行开发,分支,归并 易于使用!

  17. 概念7:建立管理(Build Management) • 提供 100% 的重现能力 • 完整的审记: • Who • What • How • When • 自动生成源文件清单 • 记录多次建立之间的不同之处 • 建立之间的比较 • 查找改变的文件

  18. CM 工作流程 Define Component(s) Release Component(s) Create System VOB Create Component VOBs Define View Profiles Update View Associate View Profile Create/Modify Elements Create View Checkin/Merge Changes Create Integration View Label VOBs Integrate and Build Product Configuration Manager Project Leader Developer Integrator

  19. CM 工作流程 Configuration Manager Project Leader Developer Integrator Define Component(s) Release Component(s) Create System VOB Create Component VOBs Define View Profiles Update View Associate View Profile Create/Modify Elements Create View Checkin/Merge Changes Create Integration View Label VOBs Integrate and Build Product

  20. 定义组件 Modeler Component Modeler Component GUI Component Storage Component Storage Component User GUI Component Modeler GUI Storage System Admin GUI Component End User Install Admin ThornQuest 2000 Component ThornQuest 2000 System 降低构件之间的耦合度,控制变更传播,提高可复用性!

  21. 创建 CM 知识库 system component1 统一管理代码、文档、测试用例及可执行文件! tst plans reqs models doc bin inc src lib deployment system_test bin lib inc doc scripts results doc

  22. CM 工作流程 由配置经理统一为各个程序员来定制视图模板,以规定在VOB中的工作空间! Configuration Manager Project Leader Developer Integrator Define Component(s) Release Component(s) Create System VOB Create Component VOBs Define View Profiles Update View Associate View Profile Create/Modify Elements Create View Checkin/Merge Changes Create Integration WorkSpace Create Integration View Baseline Component(s) Label VOBs Integrate and Build Product Integrate and Build Product

  23. 两个基本的视图模板 • 开发 / 集成 模板 • 用作开发视图的更新 • 确定项目基线 • 确定建立的版本 • 选择 branch/LATEST • 建立模板 • 用作项目的建立 • 标签新的基线 • 选择项目的固定标签 <PROJECT>_BUILD_CANDIDATE

  24. CM 工作流程 Configuration Manager Project Leader Developer Integrator Define Component(s) Release Component(s) Create System VOB Create Component VOBs Define View Profiles Update View Associate View Profile Create/Modify Elements Create View Checkin/Merge Changes Create Integration View Label VOBs Integrate and Build Product

  25. 实现的工作流程 利用视图模板创建视图 进行修改 (checkout - edit - checkin) \main 0 1 db_update Rel1 rel2_integration 2 0 0 3 rel1_bugfix 1 win98_port 1 0 2 4 0 1 3 1 Rel1.1 2 2 3 无须了解许多ClearCase细节,而专注于单一的开发任务; 在分支上工作,不会影响别人,也不会受别人影响!

  26. CM 工作流程 Configuration Manager Project Leader Developer Integrator Define Component(s) Release Component(s) Create System VOB Create Component VOBs Define View Profiles Update View Associate View Profile Create/Modify Elements Create View Checkin/Merge Changes Create Integration View Label VOBs Integrate and Build Product

  27. 集成的工作流程 \main 0 1 db_update Rel1 2 rel2_integration 0 0 3 rel1_bugfix 1 win98_port 1 0 2 4 0 2 1 3 1 3 Rel1.1 2 2 5 3 6 Rel2

  28. CM 工作流程 Configuration Manager Project Leader Developer Integrator Define Component(s) Release Component(s) Create System VOB Create Component VOBs Define View Profiles Update View Associate View Profile Create/Modify Elements Create View Checkin/Merge Changes Create Integration View Label VOBs Integrate and Build Product

  29. Rational Change Management Is Widely Used Honeywell - 273 Hughes - 438 Boeing - 1201 Lockheed - 1721 Raytheon - 1181 Oracle - 1523 Sybase - 482 Informix -2909 Philips - 328 Princeton - 757 SDRC - 250 Computervision - 275 Siemens - 2459 Texas Instruments - 608 Santa Cruz SCO - 500 Thomson - 313 Hewlett Packard - 3360 Alcatel - 704 Lucent - 1355 Motorola - 4010 Ericsson - 1969 TRW - 462 AT&T - 774 Bay Networks - 577 Cisco Systems - 1297 BNR/Nortel - 4082 Fidelity - 481 Ford Motor - 263 EDS - 704 GTE - 936 Digital - 344 Silicon Graphics - 368 Hewlett Packard - 3360 Oracle - 1523 Sybase - 482 Informix -2909 Bay Networks - 577 Cisco Systems - 1297

More Related