2136 gallows road, suite f, dunn loring, va 22027 phone: 1-703-208-9120 fax: 1-703-852-7939 business...

27
1 2136 Gallows Road, Suite F, Dunn Loring, VA 22027 Phone: 1-703-208-9120 Fax: 1-703-852-7939 Business Analyst Training Module 5.2 Rational ClearCase

Upload: suzanna-alexander

Post on 06-Jan-2018

219 views

Category:

Documents


1 download

DESCRIPTION

BA Training Module 5.2 | Rational ClearCase v3.0 3 Rational ClearCase  What is ClearCase?  ClearCase is a comprehensive  software version control and  configuration management system,  designed for development teams  working in a local network.

TRANSCRIPT

Page 1: 2136 Gallows Road, Suite F, Dunn Loring, VA 22027 Phone: 1-703-208-9120 Fax: 1-703-852-7939 Business Analyst Training 1 Module 5.2 Rational ClearCase

1

2136 Gallows Road, Suite F, Dunn Loring, VA 22027Phone: 1-703-208-9120 Fax: 1-703-852-7939Business Analyst

TrainingModule 5.2

Rational ClearCase

Page 2: 2136 Gallows Road, Suite F, Dunn Loring, VA 22027 Phone: 1-703-208-9120 Fax: 1-703-852-7939 Business Analyst Training 1 Module 5.2 Rational ClearCase

2 BA TrainingModule 5.2 | Rational ClearCasev3.0

Rational ClearCase Repository management for project-wide artifacts

Release documents Review documents Technical design documents Deployment Code

Provides Accountability Version control Controlled accesss

Just a sophisticated Explorer!

Page 3: 2136 Gallows Road, Suite F, Dunn Loring, VA 22027 Phone: 1-703-208-9120 Fax: 1-703-852-7939 Business Analyst Training 1 Module 5.2 Rational ClearCase

3 BA TrainingModule 5.2 | Rational ClearCasev3.0

Rational ClearCase What is ClearCase? 

ClearCase is a comprehensive software version control and configuration management system, designed for development teams working in a local network. 

Page 4: 2136 Gallows Road, Suite F, Dunn Loring, VA 22027 Phone: 1-703-208-9120 Fax: 1-703-852-7939 Business Analyst Training 1 Module 5.2 Rational ClearCase

4 BA TrainingModule 5.2 | Rational ClearCasev3.0

Rational ClearCase-View

Page 5: 2136 Gallows Road, Suite F, Dunn Loring, VA 22027 Phone: 1-703-208-9120 Fax: 1-703-852-7939 Business Analyst Training 1 Module 5.2 Rational ClearCase

5 BA TrainingModule 5.2 | Rational ClearCasev3.0

Rational ClearCase

Page 6: 2136 Gallows Road, Suite F, Dunn Loring, VA 22027 Phone: 1-703-208-9120 Fax: 1-703-852-7939 Business Analyst Training 1 Module 5.2 Rational ClearCase

6 BA TrainingModule 5.2 | Rational ClearCasev3.0

Rational ClearCase ClearCase Overview 

Provides versioning of all types of files & directories Records and reports history Guarantees accurate reproduction of every release Provides traceability & reproducibility Provides powerful branch-and-merge tools Assures integrity of all software elements

Page 7: 2136 Gallows Road, Suite F, Dunn Loring, VA 22027 Phone: 1-703-208-9120 Fax: 1-703-852-7939 Business Analyst Training 1 Module 5.2 Rational ClearCase

7 BA TrainingModule 5.2 | Rational ClearCasev3.0

History Of Folder

Page 8: 2136 Gallows Road, Suite F, Dunn Loring, VA 22027 Phone: 1-703-208-9120 Fax: 1-703-852-7939 Business Analyst Training 1 Module 5.2 Rational ClearCase

8 BA TrainingModule 5.2 | Rational ClearCasev3.0

When and By Whom?

Page 9: 2136 Gallows Road, Suite F, Dunn Loring, VA 22027 Phone: 1-703-208-9120 Fax: 1-703-852-7939 Business Analyst Training 1 Module 5.2 Rational ClearCase

9 BA TrainingModule 5.2 | Rational ClearCasev3.0

Clearcase-Check in

Page 10: 2136 Gallows Road, Suite F, Dunn Loring, VA 22027 Phone: 1-703-208-9120 Fax: 1-703-852-7939 Business Analyst Training 1 Module 5.2 Rational ClearCase

10 BA TrainingModule 5.2 | Rational ClearCasev3.0

Rational ClearCase

Checked-out

Page 11: 2136 Gallows Road, Suite F, Dunn Loring, VA 22027 Phone: 1-703-208-9120 Fax: 1-703-852-7939 Business Analyst Training 1 Module 5.2 Rational ClearCase

11 BA TrainingModule 5.2 | Rational ClearCasev3.0

Rational ClearCase ClearCase Version Control Features 

 

Easy checkout-edit-checkin model – Adding folders or files –Checkin Reserved for modification-Checkout Intelligent merge utility automatically merges non-conflicting

changes Graphical compare and merge tools Two modes of work with Dynamic and Snapshot Views

Page 12: 2136 Gallows Road, Suite F, Dunn Loring, VA 22027 Phone: 1-703-208-9120 Fax: 1-703-852-7939 Business Analyst Training 1 Module 5.2 Rational ClearCase

12 BA TrainingModule 5.2 | Rational ClearCasev3.0

Check Out

Page 13: 2136 Gallows Road, Suite F, Dunn Loring, VA 22027 Phone: 1-703-208-9120 Fax: 1-703-852-7939 Business Analyst Training 1 Module 5.2 Rational ClearCase

13 BA TrainingModule 5.2 | Rational ClearCasev3.0

Version Tree

Page 14: 2136 Gallows Road, Suite F, Dunn Loring, VA 22027 Phone: 1-703-208-9120 Fax: 1-703-852-7939 Business Analyst Training 1 Module 5.2 Rational ClearCase

14 BA TrainingModule 5.2 | Rational ClearCasev3.0

First Version

Page 15: 2136 Gallows Road, Suite F, Dunn Loring, VA 22027 Phone: 1-703-208-9120 Fax: 1-703-852-7939 Business Analyst Training 1 Module 5.2 Rational ClearCase

15 BA TrainingModule 5.2 | Rational ClearCasev3.0

N-th Version

Page 16: 2136 Gallows Road, Suite F, Dunn Loring, VA 22027 Phone: 1-703-208-9120 Fax: 1-703-852-7939 Business Analyst Training 1 Module 5.2 Rational ClearCase

16 BA TrainingModule 5.2 | Rational ClearCasev3.0

To See All Versions

Click here to see all

Versions

Compare-Specific Version

Compare-Previous Version

Birds Eye-Shows the Version you

see

Page 17: 2136 Gallows Road, Suite F, Dunn Loring, VA 22027 Phone: 1-703-208-9120 Fax: 1-703-852-7939 Business Analyst Training 1 Module 5.2 Rational ClearCase

17 BA TrainingModule 5.2 | Rational ClearCasev3.0

Rational ClearCase What is a VOB?

Versioned Object Base  the whole database consists of several VOBs 

A read-only repository of ClearCase elements A network-wide, file system resource which stores version-controlled data A user accessible repository that resides: on a Windows NT system, or on a UNIX system

Page 18: 2136 Gallows Road, Suite F, Dunn Loring, VA 22027 Phone: 1-703-208-9120 Fax: 1-703-852-7939 Business Analyst Training 1 Module 5.2 Rational ClearCase

18 BA TrainingModule 5.2 | Rational ClearCasev3.0

Rational ClearCase Basic Actions for an Element 

Checkout - a new editable version is created - only one person can edit the file at the same time  

Checkin - the version that was created by checkout command is saved   to the VOB and is then visible to the other views  - the element changes to write-protected mode 

Undocheckout  - undo operation for checkout

These Options can be selected when right clicked on the application. Rational ClearCase

Workspace Management - Views  

Dynamic Views Snapshot Views

Page 19: 2136 Gallows Road, Suite F, Dunn Loring, VA 22027 Phone: 1-703-208-9120 Fax: 1-703-852-7939 Business Analyst Training 1 Module 5.2 Rational ClearCase

19 BA TrainingModule 5.2 | Rational ClearCasev3.0

Other Options

Page 20: 2136 Gallows Road, Suite F, Dunn Loring, VA 22027 Phone: 1-703-208-9120 Fax: 1-703-852-7939 Business Analyst Training 1 Module 5.2 Rational ClearCase

20 BA TrainingModule 5.2 | Rational ClearCasev3.0

Rational ClearCase WHAT IS A VIEW? Workspace for an individual developer or closely coordinated

group . Selects versions of Versioned Object Base (VOB) directories

and files . Allows developers to work without interfering with others . File checkout by particular user is reserved fro him to modify.No other user can access that folder for

modification unless its modified and checked in.

Page 21: 2136 Gallows Road, Suite F, Dunn Loring, VA 22027 Phone: 1-703-208-9120 Fax: 1-703-852-7939 Business Analyst Training 1 Module 5.2 Rational ClearCase

21 BA TrainingModule 5.2 | Rational ClearCasev3.0

Rational ClearCase Version Selection by Views 

A view selects versions of elements What is seen is the result of an ordered Set of rules called a configuration specification Selected versions appear in a standard Directory tree with recognizable file names. 

Eg:R0234/Business/System Checkout d1046/Development/System Design

Page 22: 2136 Gallows Road, Suite F, Dunn Loring, VA 22027 Phone: 1-703-208-9120 Fax: 1-703-852-7939 Business Analyst Training 1 Module 5.2 Rational ClearCase

22 BA TrainingModule 5.2 | Rational ClearCasev3.0

Rational ClearCase What is a Configuration Specification? 

 Each view has a config spec that defines a set of rules for selecting versions of file and directory elements

A default config spec is automatically set whenever you create a new view The default config spec selects files or directories that are: checked out, or the latest version on the main branch of the version tree The Default Config Spec: element * CHECKEDOUT element * \main\LATESTUpdate View gives latest config spec.

Page 23: 2136 Gallows Road, Suite F, Dunn Loring, VA 22027 Phone: 1-703-208-9120 Fax: 1-703-852-7939 Business Analyst Training 1 Module 5.2 Rational ClearCase

23 BA TrainingModule 5.2 | Rational ClearCasev3.0

Update View

Page 24: 2136 Gallows Road, Suite F, Dunn Loring, VA 22027 Phone: 1-703-208-9120 Fax: 1-703-852-7939 Business Analyst Training 1 Module 5.2 Rational ClearCase

24 BA TrainingModule 5.2 | Rational ClearCasev3.0

Rational ClearCase When To Use Snapshot Views 

   You want to work with source files that are under ClearCase control while

disconnected from network You prefer to use a view  that is updated only at your request You want to access a view  from a machine that is not a ClearCase host

Page 25: 2136 Gallows Road, Suite F, Dunn Loring, VA 22027 Phone: 1-703-208-9120 Fax: 1-703-852-7939 Business Analyst Training 1 Module 5.2 Rational ClearCase

25 BA TrainingModule 5.2 | Rational ClearCasev3.0

Rational ClearCase Dynamic Views 

Transparent access to elements - access to virtually any version of any element.-Always up-to-date Minimal copying Provides build auditing – Whenever new build done by CM group.

Page 26: 2136 Gallows Road, Suite F, Dunn Loring, VA 22027 Phone: 1-703-208-9120 Fax: 1-703-852-7939 Business Analyst Training 1 Module 5.2 Rational ClearCase

26 BA TrainingModule 5.2 | Rational ClearCasev3.0

Rational ClearCase Snapshot View vs. Dynamic View 

Similar 

Use config specs rules to select element versions Follow the checkout, edit, checkin paradigm Allow reserved or unreserved checkouts

Page 27: 2136 Gallows Road, Suite F, Dunn Loring, VA 22027 Phone: 1-703-208-9120 Fax: 1-703-852-7939 Business Analyst Training 1 Module 5.2 Rational ClearCase

27 BA TrainingModule 5.2 | Rational ClearCasev3.0

Rational ClearCase As development progress, a snapshot view becomes out of

date and must be explicitly updated A checkout of an element may use the version loaded into the

view, not necessarily the latest version in the VOB To check in such an element, you may have to perform a

merge If the element version is not the latest version, you are asked

to confirm which version to checkout