Ibm Software Group

  • Uploaded by: mnreddy
  • 0
  • 0
  • July 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Ibm Software Group as PDF for free.

More details

  • Words: 720
  • Pages: 30
®

IBM Software Group

Essentials of Rational ClearCase Module 5: Working with Snapshot Views

1

Objectives Upon completing this module, you should be able to:  Create a snapshot view  Work in a snapshot view  Resolve hijacked files  Edit load rules

2

Types of Views — Review

3

Use a Snapshot View When  You are using ClearCase LT  Your computer OS does not support dynamic views  You want to work offline  You want to access a view from a computer that is not a ClearCase host  You want to optimize build performance  Your project does not require ClearCase build auditing and build avoidance features

4

Structure of a Snapshot View — Review

5

Locating Your View Storage Directory  Company may have policies about where to locate view storage directories  If you are going to disconnect from the network, the view storage directory must be located on a machine that remains connected to the network

6

Load Rules  Part of the config spec  Determine which elements are copied into the snapshot view

Base config spec selects particular versions of the loaded elements

Load rules select elements to load

7

Updating a Snapshot View Periodically update your snapshot view to load the most recent versions of elements.

8

Developer Workflow: Working Offline

9

Creating a Snapshot View

10

Creating a Snapshot View (cont.) 1 Enter the directory where the view will be located. 2 Click to change the location of the view storage directory.

3 Type path or browse for view storage location, and then click OK.

11

Creating a Snapshot View (cont.)

5 (Optional) Click to view and edit the view config spec.

4 Click Finish.

6 Click OK to launch the VOB namespace browser, which allows you to load the view. 12

Creating a Snapshot View: Loading Elements

Select the elements you want to load to the view, and then click Add or Add All. You can load directories or individual files.

13

Updating the Snapshot View Update your view before you disconnect to load the most up-to-date versions of elements.

14

Checking Out Files Check out the files you want to work on.

15

Disconnecting from the Network Before disconnecting, disable the ClearCase shortcut from Windows Explorer.

16

Working on Files Read-only copies of loaded files are on your local drive. When checked out, the copies become read/write.

17

Hijacking Files  A hijacked file is a loaded file that you modify without checking out  To hijack a file, clear the read-only attribute in file Properties dialog box

18

Reconnecting to the Network When you reconnect to the network, reactivate the Windows Explorer integration.

19

Updating the View Update your view before you check in files.

20

Snapshot View Update Window

The Snapshot View Update window provides an update report.

21

Resolving Hijacked Files When you update the view, you are alerted to any hijacked files.

22

Resolving Hijacked Files (cont.) When resolving hijacked files, you can: • Check out the hijacked file to save the modifications made while disconnected • Undo the hijack to restore the loaded version and OVERWRITE offline modifications • Compare the hijacked file with another version

23

Resolving Hijacked Files (cont.) You can also configure the Update Tool to automatically deal with hijacked files.

24

Checking In Files after Resolving Hijacked Files Once you have resolved hijacked files, check in files.

25

Changing Elements Loaded into a Snapshot View Edit load rules from the Load Rules tab of View Properties.

26

Working in a Snapshot View While Connected Snapshot views can also be used while you are connected to the network.  Hijacking files is unnecessary  Remember to update the view regularly

27

Module Review  When might you choose to use a snapshot view?  What are load rules?  What does it mean to update a view?  What is a hijacked file?  How do you resolve hijacked files?  How do you change the elements loaded into your snapshot view?

28

Module Lab  In this lab, you perform the following tasks:  Create a snapshot view and load elements  Work in a snapshot view  Disconnect from the network  Hijack a file  Update view  Resolve a hijacked file

29

30

Related Documents

Ibm Software Group
July 2020 6
Ibm Software Group
July 2020 3
Ibm Software Group
July 2020 4
Ibm Software Group
June 2020 4
Ibm Software Group
July 2020 6
Ibm Software Group
July 2020 4

More Documents from "mnreddy"