目录:
- ClearCase完全攻略(一):Base和UCM的前生后世
- ClearCase完全攻略(二) Base下的一些概念全解析
- ClearCase完全攻略(三) UCM下的一些概念全解析1
- ClearCase完全攻略(四) UCM下的一些概念全解析2
- ClearCase完全攻略(五) UCM实例:创建PVOB,创建VOB,两者区分
- ClearCase完全攻略(六)UCM实例:创建VIEW,创建Component,创建Project
- ClearCase完全攻略(七)UCM实例:创建Stream,加入项目Join Project
- ClearCase完全攻略(八)UCM实例:一些概念补充分析
最近学perl,clearcase实在是进展缓慢。只得加速。拿十佳脚本练练手。多写些代码(copy)~~
http://www.ibm.com/developerworks/rational/library/4687.html
写脚本一般有3种语言:
either directly as shell / batch, in Perl, or using the ClearCase API (CAL).
shell/batch perl CAL
脚本一般分成三种难度:
- Simple -- I will use a cleartool command, with some redirection / -exec behavior, to solve the need.
- Middle -- When there is a need to perform more complex analysis and processing of ClearCase commands, I use Perl scripts.
- Complex -- When interaction with the user is necessary, and multiple pieces of information need to be collected before the execution of the script, I often choose to write a Visual Basic application with the ClearCase API, or CAL (ClearCase Automation Layer).
- 简单的:直接cleartool命令行解决
- 中等的:当有需要执行更复杂的分析和处理的ClearCase命令,使用Perl脚本
- 复杂的:当与用户的交互是必要的,很多信息必须在脚本的执行之前收集,调用ClearCase API写一个VB执行程序。
cleartool find , cleartool describe , and cleartool lstype是比较重要的,需要一遍又一遍重复看的
cleartool man fmt_ccase 非常有用
Clearprompt command 结合GUI也是非常有用