overview & downloading the baseline using global configuration managemen tand jazz source...

16
Get respective source code folder ( entire folder /partial code) or entire source code or particular baseline on my PC – USING only web URL ( no RTC eclipse client) Scenario 1. If user needs to access specific baseline using only web client below is the alternative: 1. Go to GC application. 2. Use configuration picker, browse the specific baseline and get the source code. Scenario 2. In RTC web client, we can browse only latest baseline for the component and get the source code.

Upload: bharat-malge

Post on 14-Apr-2017

236 views

Category:

Education


0 download

TRANSCRIPT

Page 1: Overview & Downloading the Baseline using Global Configuration Managemen tand Jazz Source Control Management

Get respective source code folder ( entire folder /partial code) or entire source code or particular baseline on my PC – USING only web URL ( no RTC eclipse client)

Scenario 1. If user needs to access specific baseline using only web client below is the alternative:

1. Go to GC application.

2. Use configuration picker, browse the specific baseline and get the source code.

Scenario 2. In RTC web client, we can browse only latest baseline for the component and get the source code.

Page 2: Overview & Downloading the Baseline using Global Configuration Managemen tand Jazz Source Control Management

Scenario 1. . If user needs to access specific baseline using only web client below is the alternative:

1. Go to GC application.

2. Use configuration picker, browse the specific baseline and get the source code.

Starting with global configuration project.

Before you start to work, you must have access to a Global Configuration Management repository on a network server. To log in, type the following URL into your browser address field.

https://hostname:port number/gc/web/

We have created project area in the Global configuration management (GCM) - Demo Project 11122015 which is shown in below and from the start up screen as we can we can create and browse the components.

Page 3: Overview & Downloading the Baseline using Global Configuration Managemen tand Jazz Source Control Management

Creating a component to establish a work contextA component represents physical or logical pieces of the system your team is working

For example, we have created the component called Component 1, This component provides context to help you define a “family” of configurations, including baselines.

Procedure

1. From the screen shown in above screen shot, use the Global Configurations main menu and select Browse Components.

2. On the Components screen, click Create Component.3. In the Create Component dialog box, enter a component name and optional description.

After you create a component Component 1, a baseline is created automatically, and an initial stream is created from the baseline., Now you can see the empty stream.

Use a stream to gather configurations from other Collaborative Lifecycle Management (CLM) applications, such as Rational Team Concert (RTC).

Global Configuration Management integrates with the following CLM applications.

The Requirements Management application (RM) delivers requirements definition and requirements management capabilities.

The Quality Management (QM) application delivers testing and test management capabilities. The Design Management (DM) application delivers design management capabilities. The software configuration management part of the Rational Team Concert™ application delivers work

item capabilities.

From each application, choose the appropriate set of configurations (streams, change sets, baselines, snapshots) to contribute.

Page 4: Overview & Downloading the Baseline using Global Configuration Managemen tand Jazz Source Control Management

Adding configurations to a streamAn empty initial stream is created automatically after a component is created. You can add configurations to the stream from this and other contributing CLM applications. Configurations that you add to the stream from this and other CLM applications can be streams, change sets, snapshots, baselines.

Procedure

1. Select the stream that was created automatically after you created a component in the Components screen. The stream name is component name Initial Stream (here it is Component 1 Initial Stream). You can rename the stream by selecting it and then typing a different name on the right pane as shown in above screenshot.

2. Add a configuration to the stream.I. Search for a stream, change set, snapshot, baseline, baseline staging stream, or global

configuration to add to the stream by clicking Add Configuration.II. Select the application that you want to search in the list box.

III. To add a configuration from a CLM application, ensure that you are in the correct project area where you want to look for streams, change sets, snapshots, baselines, or baseline staging streams, then set the type to search for.

Page 5: Overview & Downloading the Baseline using Global Configuration Managemen tand Jazz Source Control Management

We can see below the project area is selected and the type Is selected as Baseline. Under CCM application.

Page 6: Overview & Downloading the Baseline using Global Configuration Managemen tand Jazz Source Control Management

To verify below is the screenshot of the same component in the RTC web client which is we are going to select in the GCM. This component contains, three baselines as shown in below,

Selecting the Development component in the CCM into the GC and can see the all respective Baseline for the particular Component by clicking on Show Baseline tab which is shown in below screen shot.

Page 7: Overview & Downloading the Baseline using Global Configuration Managemen tand Jazz Source Control Management

Below screenshot shows the respective Baselines in the Both the GCM and in the RTC eclipse Client.

Here we are selecting the Hello project Baseline for the Demo out of three.

Now we can see in the Stream the Development Component is reflecting in the GCM with the Hello Project baseline which we have created in the RTC Eclipse client.

Page 8: Overview & Downloading the Baseline using Global Configuration Managemen tand Jazz Source Control Management

We can open the Baseline which we have selected as shown in below screenshot which contains the project

Which we have created for the demo which we devlivered on the Development stream of the RTC.

We can now browse the Project to find the source codes which we will get in the src directory here,

Here we can see the package inside the src directory which contains the Java class file

Page 9: Overview & Downloading the Baseline using Global Configuration Managemen tand Jazz Source Control Management

Here we can now see the Demo.java class file which is contains the source code and which we can download by the download option /button which is on the extreme right of the window.

We can also download by browsing the source code file by same option.

Page 10: Overview & Downloading the Baseline using Global Configuration Managemen tand Jazz Source Control Management

Scenario 2. In RTC web client, we can browse only latest baseline for the component and get the source code.

Connecting to repository from web browser.

ProcedureOpen the web browser and type the repository URL, which typically has the form: https://server:port/ccm/web, where server is the name of the Jazz™ Team Server host and port is the port where Jazz technology platform services are accessible.

1. In the web client, in the upper-left corner, click the Home Menu icon. Expand Change and Configuration Management and click a project name.

2. On the project page, click Source Control > Welcome to Source Control. From this page, you can navigate to your repository workspaces and streams.

Page 11: Overview & Downloading the Baseline using Global Configuration Managemen tand Jazz Source Control Management

3. Navigate to any repository workspace or stream to display its contents. In the below window we can

Find multiple Streams associated in one project area and can we can also browse the components of the respective stream.

In the Below Screenshot we can find the Initial Baseline is New_Baseline_2 which will now replaced when the latest Baseline will be created in the RTC Eclipse client and will always show the latest Baseline comparing to GCM in GCM we can see the all Baseline In the respective components.

Page 12: Overview & Downloading the Baseline using Global Configuration Managemen tand Jazz Source Control Management

Create the baseline for a component

We can create baselines within a repository workspace, but the baseline must be delivered to the appropriate component.

In the below screenshot we have created the Baseline which will be the latest baseline after creating and after creating it will replace the old one in the RTC web Client but we can find all the Baseline for respective component in the History view of the RTC Eclipse Client.

A New Baseline is created which is New_Baseline_3 and we will deliver the Baseline onto the Demo Stream.

We can see below the latest Baseline is showing in the component and which we can browse to specific repository files in the component.

Page 13: Overview & Downloading the Baseline using Global Configuration Managemen tand Jazz Source Control Management

Browsing the Demo project

Page 14: Overview & Downloading the Baseline using Global Configuration Managemen tand Jazz Source Control Management

We can see the required Java class file Demo.java which was delivered on to the stream was can now we download by the Download button which is on the extreme right of the web client

=====================================================================================