Professional Documents
Culture Documents
Rational Training 101 HOL
Rational Training 101 HOL
Visual Studio
TFS Integration Tools
Rational ClearCase & ClearQuest
101
2010-11-16
Visual Studio ALM Rangers
Microsoft Corporation
The information contained in this document represents the current view of Microsoft Corporation on the issues discussed as of
the date of publication. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a
commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information presented after the
date of publication.
This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS
TO THE INFORMATION IN THIS DOCUMENT.
Microsoft grants you a license to this document under the terms of the Creative Commons
Attribution 3.0 License. All other rights are reserved.
2009 Microsoft Corporation.
Microsoft, Active Directory, Excel, Internet Explorer, SQL Server, Visual Studio, and Windows are trademarks of the Microsoft
group of companies.
All other trademarks are property of their respective owners.
Table of Contents
Acronyms ................................................................................................................................................................................ 4
Contributors ............................................................................................................................................................................ 5
Reviewers ................................................................................................................................................................................ 5
Introduction............................................................................................................................................................................. 6
Overview............................................................................................................................................................................. 6
Visual Studio ALM Rangers .................................................................................................................................................. 6
Prerequisites ....................................................................................................................................................................... 6
Suggested Focus and Time Map ........................................................................................................................................... 7
Placeholder Tokens ............................................................................................................................................................. 8
Lab 1 – Register and Explore the Sandbox Environment ............................................................................................................ 9
Lab 2 - Simple ClearQuest to TFS Migration..............................................................................................................................12
Checking ClearQuest Test Data ..........................................................................................................................................12
Configure the TFS Integration Platform CQ TFS Migration Session ...................................................................................15
Run the Migration ..............................................................................................................................................................21
Lab 3 - Simple ClearCase to TFS Migration...............................................................................................................................23
Checking the ClearCase Test Data .......................................................................................................................................23
Configure the CC -> TFS Migration Session ..........................................................................................................................24
Run the Migration ..............................................................................................................................................................28
Appendix - Test Environment ..................................................................................................................................................30
Setting up the CQ test data .................................................................................................................................................30
Setting up the CC test data .................................................................................................................................................31
References..............................................................................................................................................................................38
Visual Studio 2010 Architecture Guidance ...........................................................................................................................38
General Links .....................................................................................................................................................................38
Acronyms
This guide uses the following common acronyms:
ACRONYM DESCRIPTION
CC IBM Rational Clear Case Solution
CQ IBM Rational Clear Quest Solution
HOL Hands On Lab
IIS Internet Information Server
SDK Software Development Kit
Includes software and documentation needed to develop applications that are compatible with specified
public operating-system and component interfaces.
TFS Microsoft Visual Studio Team Foundation Server.
Microsoft change management software for software development. Components include work item
tracking, source code control, policy support and notifications, and report generating capabilities.
TR TechReady is an internal Microsoft technology awareness and readiness event.
VC Version control
VSS Microsoft Visual SourceSafe
A family of Microsoft source code version control and configuring systems for software and Web
development teams.
WIT Work item tracking
WSS Microsoft Windows SharePoint Services
A Microsoft Web-based team collaboration environment that provides the ability to create and access
virtual workspaces for managing documents, discussions, lists, surveys and other important contextual
information, such as team member status and presence.
Contributors
Bob Hardister Overwatch, Visual Studio ALM Ranger
Willy-Peter Schaub Microsoft, Solution Architect | Visual Studio ALM Ranger
Reviewers
Bijan Javidi Microsoft, Principal Architect | Visual Studio ALM Ranger
Bill Essary Microsoft, Principal Architect | Visual Studio ALM Ranger
Lukasz Gratkowski Microsoft, Consultant | Visual Studio ALM Ranger
Adam Jagocki Microsoft, Consultant | Visual Studio ALM Ranger
Introduction
Overview
Welcome to the TFS Integration Tools, based on the TFS Integration Platform, guidance and readiness kit.
Using feedback from users of the previous TFS Migration and Synchronization Toolkit, we have created documentation and
samples for the public interfaces and extension points of the TFS Integration Platform and refreshed the guidance around TFS
migrations in general.
This hands-on-lab (HOL) takes you through a guided tour of a simple migration scenarios from IBM Rational ClearCase (CC) and
IBM Rational ClearQuest (CQ) to Team Foundation Server (TFS) using the shared sandbox environment from i-solve
www.teamdevcentral.com.
Prerequisites
Access to the shared hosted training environment delivered by i-solve and available at http://www.teamdevcentral.com.
Alternatively you require an IBM Rational ClearCase and CleaQuest and a Team Foundation Server environment, as supported
by the product. Refer to the product documentation for the relevant prerquisites.
If you are intending to follow the hands-On-Lab (HOL) step-step use these times as a guideline. If,
however, you are intending to investigate each step in detail to double the times as a bare
minimum.
Placeholder Tokens
To decouple this HOL manual from the environment, the documentation uses tokens throughout this document. Ensure you
the correct values, as specified in your registration confirmation email, are use throughout this HOL for the respective tokens.
TAKE NOTE
The screen shots may not match your sandbox instance and are only included as reference.
The sandbox environment is created specifically for you and therefore the environmental settings are tdifferent to the default
environment and represented by the above placeholder tokens.
Refer to the placeholder tokens at all times and not the information displayed on screen shots in this hands-on-lab sandbox
environment.
OBJECTIVE
In this step we will register ourselves with TeamDevCentral and explore the hosted training sandbox environment. If you have
already registered yourself on the sandbox and have received the welcome email, you should skip steps 1-3 of this lab.
b. ClearCase … Select IBM Rational ClearCase from the All Programs menu and take note that the ClearCase
client software is installed on the sandbox.
REVIEW
We registered ourselves and explored the hosted training sandbox environment. We are now ready to delve into a simple
ClearQuest and ClearCase to Team Foundation Server migration.
OBJECTIVE
In this step we will perform a simple migration from ClearQuest to Team Foundation Server.
5. Specify @@ADMIN_PASSWORD@@ as the password and select the @@CQDB-101@@ database. In this case the
database defined by @@CQDB-101@@ is UCM : as shown.
7. If you get no data returned when using the Defects query, please refer to Setting up the CQ test data on page 30.
IMPORTANT
Please do NOT make changes to the ClearQuest or ClearCase test environment or data!
5. Select the IBM Rational directory and then the ClearQuest.xml template.
8. Select the @@ TFS-SERVER-101@@ server, then select the @@TFSTPC-101@@ Team Project Collection, then select
the @@TFSTP-101@@ Team Project and select Connect.
13. Select the Public Queries -> UCMUserQueries -> Defects query and select OK.
16. Select the Xml tab at the bottom and locate the CustomSettings tag. Add the following line, which is also highlighted
in the illustration below. This key defines the delimiter used for date/time fields in queries, which by default uses a ‘
character and for the sandbox requires a # as the backend database for ClearQuest is Access CQ.
<CustomSetting SettingKey="CQQueryTimeDelimiter" SettingValue="#" />
IMPORTANT
Ensure that you add the line to the “source”, the first MigrationSource, not the target.
NOTE
The product documentation may not have a reference to this new feature yet.
2. The shell will show the pipeline processing from discovery, analysis, to migration. Once complete you will see the
“your current session completed successfully” status, with two items migrated which relate to the defect and
associated work item, plus the history.
7. Define Bug as the Work Item Type and [Any] as the State. Select Run and take note that the ClearQuest Defect is
returned as part of the result set.
REVIEW
We have performed a simple migration from ClearQuest to TFS using the TFS Integration Tools.
OBJECTIVE
In this step we will perform a simple migration from ClearCase to Team Foundation Server.
2. You will see the view assigned to your user account, the IntegrationTestVOB and the simple wpccalculator test
project. If no test data is available, then please refer to Setting up the CC test data on page 31.
5. Click on the Configure button for the Right Source and select the TFS 2010 Migration VC Provider.
6. Select the @@TFS-SERVER-101@@ server, then select the @@TFSTPC-101@@ Team Project Collection, then select
the @@TFSTP-101@@ Team Project and select Connect.
5. Select a local directrory to be used as the download folder during the migration.
10. Take a moment to verify the configuration and then select Save to Database.
1. Workflow type is a One-way migration.
2. VOB is set to @@VOB-101@@.
3. Left source path is the same as the VOB, plus the sub-directory \Test.
4. The target is set to @@TFS-SERVER-101@@.
5. The target path is set to $/@@TFSTPC-101@@.
11. The TFS Migration Shell will show the session as “not yet migrated” and stopped.
2. Observe as te discovert, analysis and migration status changes. When complete, the shell wil show “Your current
session completed successfully”.
5. The (1) wpfcalculator project will appear and (2) you can optionally review the history of the @@TFSTPC-101@@
version control by right clicking on the @@TFSTPC-101@@ node and selecting History.
6. This concludes the simple migration of source code from ClearCase to Team Foundation Server.
REVIEW
We have performed a simple migration from ClearCase to TFS using the TFS Integration Tools.
3. Select Defect
4. Specify ClearQuest Defect for the headline, select 1-Critical for Severity and optionally specify an arbitrary
description.
5. Select a directory or optionally create and then select a directory to store the VOB and select OK.
4. You will now notice the sample application in the VOB. Right click on WcfCalculator and select Add to Source Control.
IMPORTANT
You must do this for every file and folder. There is no regressive checkin ability out of the box. There are utilities that you could
use to implement this regressive feature.
References
Visual Studio 2010 Architecture Guidance
The following documentation and information material is included in the Visual Studio 2010 Architecture Guidance.
Visual Studio 2010 Architecture Guidance – Scenarios
Visual Studio 2010 Architecture Guidance – Questions & Answers
Visual Studio 2010 Architecture Guidance – New Solution Scenario (HOL)
Visual Studio 2010 Architecture Guidance – Explore an Existing System Scenario (HOL)
Visual Studio 2010 Architecture Guidance – Creating extensions with the feature extension (HOL)
Visual Studio 2010 Architecture Guidance – Extensibility Layer Diagrams (HOL)
Visual Studio 2010 Architecture Guidance – Reusable Architecture Scenario (HOL)
Visual Studio 2010 Architecture Guidance – Validating an Architecture Scenario (HOL)
General Links
Visual Studio ALM Rangers Site
http://msdn.microsoft.com/teamsystem/ee358786.aspx
http://www.tinyurl.com/almrangers
MSDN Site
http://msdn.microsoft.com/default.aspx