You are here: Home Automated Testing Tools Rational Unified Process Rational ClearCase UCM Process Part2

SoftwareQAtestings.com

...Your Hub for Software Testing and Quality Assurance

~ Contact Us ~ Privacy Policy ~ Register ~

Rational ClearCase UCM Process Part2

Remote deliver operations

•In the Project Explorer, select the project.

•Click Tools > Find Posted Deliveries. If the project contains posted deliveries, the Find Posted Deliveries dialog box appears and lists all streams within the project that contain deliver operations in the posted state. For each posted deliver operation, the dialog box shows the source stream and the target stream.

•Select the development stream from the list in the Find Posted Deliveries dialog box.

•Click Deliver. The Deliver dialog box opens. Click Resume to resume the deliver operation. Click Cancel to cancel the deliver operation. See Developing Software for details on completing the deliver operation.

Building and testing the components

•In the Project Explorer, select the development stream and click Tools > Rebase Stream. The Rebase Stream Preview dialog box opens.

•By default, ClearCase rebases your development stream to the recommended baselines. Because the new baseline has not been tested extensively, you probably have not yet promoted it to the level associated with recommended baselines. To rebase to the baseline, or baselines, you want to test, click Advanced. The Change Rebase Configuration dialog box opens.

•Select a component that contains a baseline you want to test. Click Advanced. The Change Rebase Configuration dialog box opens, listing all baselines for the component.

•Select the baseline that you want to test, and click OK.

•Select another component in the Change Rebase Configuration dialog box and repeat the process.When you finish selecting baselines, click OK to close the Change Rebase Configuration dialog box.

•Click OK in the Rebase Stream Preview dialog box to continue the rebase operation. See the Help or Developing Software for details on rebasing a development stream. When you finish rebasing the development stream, you are ready to begin testing the new baselines.

Fixing problems

•From the development view attached to the development stream, check out the files you need to fix.When you check out a file, you need to specify an activity.

•Make the necessary changes to the files and check them in.

•Build and test the changes in the development view.

•When you are confident that the changes work, make a new baseline that incorporates the changes in the development stream.

•Deliver the new baseline to the integration or feature-specific development stream. When you deliver the new baseline to the integration or feature-specific development stream, you merge changes with work that developers have delivered since the last baseline was created.

•Change the set of recommended baselines for the integration stream or feature-specific development stream to include the new baseline that you made in the testing stream.

Creating a new baseline

•In the Project Explorer, select the integration stream or feature-specific development stream where you want to make the baseline.

•Click Tools > Make Baseline. The Make Baseline dialog box opens

•If you have a baseline naming template set for the project, the Template Name field shows the name that will be used for the new baseline. Enter a name in the Base Name only if the project does not have a baseline naming template set or the template includes the basename token. Otherwise, the Base Name field does not appear in the Make Baseline dialog box.

•Choose the type of baseline to create (typically incremental baseline)

•Specify a view in which to perform the operation. Choose a view that is attached to the stream where you want to make the baseline.

Unlocking the stream

•In the Project Explorer, select the stream.

•Click File > Properties to display the stream’s property sheet.

•Click the Lock tab.

•Click Unlocked and then click OK.

Changing baselines promotion level

•In the Project Explorer, right-click the stream to display its shortcut menu. Click Properties to open the stream’s Properties dialog box.

•Click the Baselines tab.

•In the Components list, select the component that contains the baseline you want to promote. In the Baselines list, select the baseline. Click Properties. The baseline’s Properties dialog box opens.

•Click the arrow in the Promotion Level list to display all available promotion levels. Select the new promotion level.

Recommending a baseline

•In the Project Explorer, select the stream. Click Tools > Recommend Baselines.

•In the Recommended Baselines dialog box, you can filter the list of baselines displayed by selecting a promotion level and clicking Seed List. The dialog box then displays only baselines at or above the selected promotion level.

•To remove a baseline from the list, select it and click Remove. To add a baseline, click Add and select the baseline in the Add Baseline dialog box.

•To recommend a different baseline of a component, select the baseline and click Change. In the Change Baseline dialog box, select the baseline that you want to recommend. To select a baseline in another stream, such as a testing stream, click Change and navigate to the stream in the Choose Stream dialog box.

•When you finalize your list of recommended baselines, click OK in theRecommended Baselines dialog box.

Task for Developers

•Setting up work areas

•Finding and setting activities

•Working on activities

•Delivering activities

•Rebasing work area

Setting up the work area

•To start ClearCase explorer, click Start > Programs > Rational ClearCase > ClearCase Explorer.

•In the ClearCase Explorer Shortcut pane, click Toolbox. Then click UCM > Join Project to join a project.

•Navigate the list of projects to select the project you want to join. Click next to proceed.

•Now you are prompted for development stream and integration stream names. If you already have these streams in the project which you want to join click advanced and select use existing stream.

•It is recommended that accept the default values for setting up the views which are set by project manager. Specify a view directory where ClearCase loads the source files from the VOB’s while setting up the view.

•Specify the components you want to work on in the next step.

Accessing your development view

•The Views tab in ClearCase Explorer Shortcut pane provides access to your projects views

•ClearCase explorer creates on the view tab a page for each project that you join in.

•Click the project page to start the view.

Finding and setting activities

•In ClearCase explorer, My activities shows the activities in your work area.

•To create activities follow these steps:

–In the Check Out, Check In, or Add to Source Control dialog box (which open as part of the corresponding operation), click New.

–In the New Activity dialog box, enter the headline of the activity. The activity ID is automatically generated.

–Click OK.

•Activities can also be created as follows:

–Open a view properties dialog box. For example, in ClearCase Explorer, right-click the root directory of the view, and click Properties of View.

–On the General tab of the Properties dialog box, click Change.

–In the Select Activity dialog box, click New.

–In the New Activity dialog box, enter an activity headline and click OK.

–In the Select Activity dialog box, click OK. The activity headline appears in the Properties dialog box under Current default activity for this view.

–In the Properties dialog box, click OK.

Working on activities

•Check out files

•Work with checked out files

•Cancelling check outs

•Checking in files

•Testing your work

•Indicating your progress

Delivering activities

•Preparing your work areas

•Starting the deliver operation

•Selecting activities and Baselines

•Merging Versions

•Testing your work

•Completing the deliver operation

Rebasing your work area

•Prepare your development view

•Start the rebase operation

•Test your development work area

•Complete the rebase operation