使用命令行创建UCM集成环境

来源:互联网 发布:线切割绘图编程实例 编辑:程序博客网 时间:2024/06/04 19:44

如何使用命令行创建UCM环境:

 

1. Create new Cvob and Pvob,
cleartool mkvob -tag /C_vob -nc -stgloc vobstg
cleartool mkvob -tag /Test_pvob -nc -ucm -stgloc vobstg
2. Create new dynamic view, mount the vobs that you just created
cleartool mkview -tag myview -stg -auto
cleartool startview myview
cleartool mount /C_vob
cleartool mount /Test_pvob
3. create new ucm component:
cd to the vob root folder in the dynamic view you just created, create the component:
  cleartool mkcomp -nc -root . component:<compName>@/Test_pvob
4. Create UCM project
(1)cd to the root folder of the pvob,make a project folder
  cleartool mkfolder -nc -in RootFolder@/<pvob> <foldername>@/<pvob>
(2)make the UCM project
  cleartool mkproj -c "comments" -mod <Modifyable component list> -in folder:<foldername>@/<pvobname> <project name>
5. create the integration stream:
cleartool mkstream -int -in <proj name>@/<pvob name> -nc -baseline comp_C_INITIAL@/<comp_C name> <Stream name>@/<pvob name>
6. Create the integration view
cleartool mkview -tag VIEW_int -stream <stream name>@/<pvob name>