Академический Документы
Профессиональный Документы
Культура Документы
Objectives
Upon completing this module, you should be able to:
Define software configuration management (SCM) Explain how ClearCase implements SCM Explain ClearCase roles Define basic ClearCase terminology and concepts Explain the typical developer workflow in ClearCase Set up your ClearCase workspace Access ClearCase Help
Workspace management
Work in parallel with other developers
Build management
Ensure the integrity of all software elements Accurately reproduce every release Trace and reproduce builds
7
Process control
Record and report actions, history, and milestones Customize process
ClearCase Roles
ClearCase developer
Set up workspace Make changes Integrate changes Update workspace
ClearCase integrator
Create integration workspace Create baselines Build components
ClearCase administrator
Set up hardware environment Implement development environment Maintain hardware and development environments
10
11
12
What Is an Element?
A file or a directory, under source control, stored in a ClearCase VOB Can be any object that can be stored in a native file system, including:
Source files Directories Binary files Object libraries Documents
13
What Is a Version?
An element consists of a set of versions, organized into a version tree Each version represents one revision of a file under source control Versions are displayed in a workspace or view
14
What Is a View?
A ClearCase mechanism that allows users access to versions of elements in VOBs An isolated workspace for a user or a group Enables users to work in parallel
15
16
Types of Views
17
Snapshot
You are using Win 9X, Win ME, or ClearCase LT, which do not support dynamic views You want to work disconnected from the network You do not need build avoidance
19
20
21
22
4 Click Advanced Options to specify the location of the view storage directory.
23
24
Created View. Host-local path: saturn:/home/pat/pat_r2_dev.vws Global path:/net/saturn/home/pat_r2_dev.vws It has the following rights: User : pat : rwx Group : user : r-x Other : : r-x
25
Starts a dynamic view Sets the specified view to your current working view Spawns a shell process that is set to the dynamic view
% cleartool setview pat_r2_dev <pat_r2_dev>%
26
27
<pat_r2_dev_view>% cleartool pwv Working directory view: ** NONE ** Set view: pat_r2_dev_view
28
The mount command activates a VOB for use on the local workstation You access a VOB through its unique tag name Public VOBs are mounted on boot up and with the mount all command
% cleartool mount /vobs/Hardware
29
/VobA
30
32
33
Online Manuals
34
Module Review
What is SCM? How does ClearCase help you manage change to software? What tasks are involved in setting up your workspace? What is a VOB? Element? Version? View? How do you access particular versions of elements in a ClearCase VOB? What is the difference between a snapshot view and a dynamic view? How do you access online Help in ClearCase?
35
Module Lab
In this lab, you will:
Launch ClearCase GUI Create a dynamic view Mount a VOB
36