Você está na página 1de 68

SDWB 5.0

CMVC Version Control Feature for WebSphere Studio User Guide

Updated: December 19, 2003

© Copyright International Business Machines Corporation 2003. All rights reserved. US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.

Contents Figures . . . . . . . . . . . . .

Contents

Figures .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

v

Tables

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

vii

About this guide

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

ix

Who should read this guide? .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

ix

What has changed?

. Terminology used in this guide

.

. What else should you read?

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

ix

ix

ix

How to send your comments .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

ix

Chapter 1. Prerequisites

.

.

.

.

.

.

.

.

.

.

.

.

.

1

Supported WebSphere Studio Workbench products .

 

.

.

.

.

.

.

.

.

.

.

.

1

What is the WebSphere Studio Workbench?

 

.

.

.

.

.

.

.

.

.

.

.

.

.

1

Supported Workbench products and versions .

 

.

.

.

.

.

.

.

.

.

.

.

.

2

Workbench download sites

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

2

Supported CMVC server versions

.

.

.

.

.

.

.

.

.

.

.

.

.

.

2

Chapter 2. Installing, updating, or removing the CMVC Version Control

. Installing the CMVC Version Control Feature

Feature .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

 

.

.

.

.

.

.

3

3

. Step 1. Open the Workbench Install/Update perspective .

 

.

.

.

.

.

.

.

.

3

Step 2. Create a site bookmark for the SDWB download site

 

.

.

.

.

.

.

.

3

Step 3. Install the CMVC Version Control Feature

.

Installing feature updates

.

.

.

.

.

.

.

.

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

5

6

. Step 1. Check for available feature updates .

 

.

.

.

.

.

.

.

.

.

.

.

.

.

6

Step 2. If updates are available, open your Workbench Install/Update

 

perspective .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

6

Step 3. Install updates for the CMVC Version Control Feature .

 

.

.

.

.

.

.

7

Removing features .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

8

Chapter 3. Getting started .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

9

Setting global preferences .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

9

Workbench label decoration preference

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

9

. CMVC label decoration preferences .

CMVC preferences

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

10

14

Setting up and managing projects .

. Creating a project for CMVC files .

Working with preference sets .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

15

15

Associating a project with a CMVC location

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

16

22

Changing CMVC project associations

.

.

.

.

.

.

.

.

.

.

.

.

.

26

Removing CMVC project associations

.

.

.

.

.

.

.

.

.

.

.

.

.

26

Using Workbench views to perform CMVC Version Control Feature tasks

 

.

.

.

26

Any workspace navigation view .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

27

CMVC File Queries view .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

27

CMVC Repository Explorer

.

.

.

.

.

.

.

.

.

.

.

.

.

28

. CMVC Files Query List view .

Synchronize view

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

28

29

Associating the CMVC views with a CMVC location

 

.

.

.

.

.

.

.

.

.

.

.

30

Examples .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

30

Chapter 4. File management tasks .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

31

File management task reference

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

31

File lists and queries .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

32

Generating a list of files

.

.

.

.

.

32

Customizing file queries

Running the previous query .

Saving queries to the CMVC Files Query List view .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

33

34

34

Running a saved query from the CMVC Files Query List view

.

.

.

.

.

.

36

Modifying saved queries

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

36

Deleting saved queries .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

36

File actions

.

. Checking files into CMVC .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

36

36

Checking files out of CMVC .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

36

Comparing files

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

37

Comparing workspace files with the most recent version in CMVC .

.

.

.

37

Comparing workspace files with any version in CMVC

.

.

.

.

.

.

.

.

37

Comparing any two versions of a file in CMVC

.

.

.

.

.

.

.

.

.

.

.

37

Creating files in CMVC .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

38

Deleting files in CMVC .

Extracting files from CMVC

.

.

.

.

.

.

.

.

.

.

38

38

Extracting files when a project is not created .

.

.

.

.

.

.

.

.

.

.

.

38

Extracting files to an existing project .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

38

Locking files in CMVC

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

39

Merging files

.

.

.

.

.

39

Merging workspace files with the most recent version in CMVC .

.

.

.

.

39

Merging workspace files with any version in CMVC

.

.

.

.

.

.

.

.

.

39

Renaming files in CMVC .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

40

Replacing files

.

. Replacing a workspace file with the most recent version in CMVC .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

40

40

Replacing workspace files with any version in CMVC .

.

.

.

.

.

.

.

.

40

Synchronizing workspace files with CMVC files .

. Synchronizing workspace files with the most recent versions in CMVC

.

.

.

.

.

.

.

.

.

.

41

42

Synchronizing workspace files with any level in CMVC

.

.

.

.

.

.

.

.

.

.

.

43

Synchronizing workspace lock decorators with CMVC

.

.

.

.

.

44

Undoing file changes in CMVC .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

45

Unlocking files in CMVC

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

45

Appendix A. Path Mapping Examples

.

.

.

.

.

.

.

.

.

.

.

47

Mapping workspace path names to CMVC file names: CMVC path name starts

 

with workspace project name .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

48

Mapping workspace path names to CMVC file names: CMVC path name does

 

not start with workspace project name

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

50

Appendix B. Synchronization Example

55

Synchronizing workspace files with the most recent versions in CMVC

.

.

.

.

55

Index

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

57

Figures 1. CMVC Support Web site   . . . . . . . .

Figures

1.

CMVC Support Web site

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

2

2.

Opening the Workbench Install/Update Perspective

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

3

3.

Creating a new Site Bookmark .

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

4

4.

Settings for the SDWB 5.0 download site bookmark

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

4

5.

SDWB Features Site Bookmark .

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

5

6.

Available SDWB features .

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

5

7.

Install information for CMVC Version Control Feature .

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

6

8.

Opening the Workbench Install/Update Perspective

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

7

9.

Available SDWB features .

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

7

10.

Update information for CMVC Version Control Feature

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

8

11.

CMVC Support Web site

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

8

12.

Workbench label decoration preference

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

10

13.

CMVC preferences .

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

11

14.

CMVC label decoration preferences .

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

14

15.

Label decorations in the Navigator view

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

15

16.

Associating a project with CMVC .

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

16

17.

Share Project wizard: Repository type .

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

17

18.

Share Project wizard: Enter or choose a CMVC family

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

18

19.

Share Project wizard: CMVC user ID

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

19

20.

Share Project wizard: Preference set

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

20

21.

Share project wizard: New preference set .

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

20

22.

Project Properties window

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

22

23.

Edit Preference window

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

23

24.

Project Properties window showing modified preference set .

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

24

25.

Project Properties window

 

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.