Basic UCM process
Project contains one shared work area and typically multiple private work areas.
A component is a group of related directory and file elements, which you develop, integrate and release together.
A baseline is a version of one or more components.
Developer join the project by creating private work areas and populate them with the contents of the baselines.
Developers create activities and work on one activity at any time. The set of files associated with an activity is called as change set.
Developers share their work by performing deliver operations.
Integrator builds the executable files in the shared work area.
New baselines are created if the build is performed successfully.
When the new baselines pass a sufficient level of testing, the integrator designates them as recommended baselines.
Developers perform rebase operations to update their private work area to include the new set of recommended baselines.
Tasks of Project Manager
Create a repository (PVOB Project Versioned Object base) for storing the project information. PVOB stores UCM objects such as projects, activities and change sets. PVOB must be created before a project is created.
Create components that contain the set of files that developers work on.
Create the baselines that identify the versions of the files.
Creating PVOB
Click Start > Programs > Rational Software > Rational ClearCase > Administration >Create VOB. The VOB Creation Wizard appears.
In Step 1 of the VOB CreationWizard, enter a name for the PVOB. Enter a comment to describe the purpose of the PVOB. Leave the This VOB will containUCM components check box clear. Select the Create as a UCM project VOB check box.
In Step 2, specify the PVOBs storage directory.
Step 3 prompts you to choose an administrative VOB to be associated with the PVOB. Scroll to the top of the list and select none. ClearCase makes AdminVOB hyperlinks between the components and the PVOB, and the PVOB assumes the role of administrative VOB.
Componets
Components are the UCM mechanism for simplifying the organization of your files and directories.
By organizing files and directories as components, the system can be identified as a small number of identifiable components.
Creating components for storing elements
Start the VOB CreationWizard.
In Step 1, enter a name for the VOB. Enter a comment to describe the purpose of the VOB. Select the This VOB will contain UCM components check box.
In Step 2, select the Allow this VOB to contain multiple components option button and the Seed the VOB with these components check box. Select a view from the View list, and click Add. Enter the components name and root directory in the Add Component dialog box, and click OK. The component appears in the list in the wizard. Click Add to create additional components. The components name must be unique within its PVOB.
In Step 3, specify where to store the VOB.
Step 4 prompts you to identify the PVOB that will store the project information about the components. Select the PVOB that you previously created.
View and stream
A view is a directory tree that shows a single version of each file in the project.
A stream is a clearcase object that maintains a list of activities and baselines and determines which versions of the elements appear in your view.
The integration stream and the corresponding integration view represent the projects main shared work area.
The development stream maintains a list of the developers activities and determineswhich versions of elements appear in the developers view.
Tasks of Integrator
Building the work delivered by the developers. Ensure that the integration stream is locked before you build)
Verify the stability of the project by testing its components.
Creating and testing of baselines to ensure that developers stay in sync with each others work.
As the quality and stability of the components improve, change the baselines promotional level attribute to reflect important milestones.
Building components
Locking the stream.
Finding remote deliver operations.
Completing remote deliver operations.
Undoing bad deliver operations.
Building and testing the components.
Locking the Integration stream
Lock the stream to prevent the developers from delivering work while build is going on.
In the Project Explorer, select the stream.
Click File > Properties to display the streams property sheet.
Click the Lock tab.
Click Locked and then click OK.