SlideShare ist ein Scribd-Unternehmen logo
1 von 8
Downloaden Sie, um offline zu lesen
IBM Software Exercise
Developing Software with 
IBM Rational Team Concert
Exercise 3: Jazz Source Control
Student Exercises
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
© Copyright IBM Corp. 2008, 2013 Exercise 3. Jazz Source Control 3-1
V9.0
EXempty
Exercise 3. Jazz Source Control
What this exercise is about
The purpose of this exercise is to master the primary source-control
capabilities of IBM® Rational Team Concert™: use source control, create
workspaces, manage change sets, make and deliver software changes,
resolve file conflicts, and manipulate your workspaces and streams.
What you should be able to do
At the end of this exercise, you should be able to:
• Create a repository workspace and begin working on a team.
• Associate your work with the appropriate work items.
• Review and manage change sets.
• Detect and resolve file conflicts.
• Change the configuration of your workspaces.
Student Exercises
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
3-2 Developing Software with IBM Rational Team Concert, V4.0.4 © Copyright IBM Corp. 2008, 2013
3.1. Create a repository workspace for the JKE Banking project
Scenario
In the previous exercises, you joined the JKE Banking project team and reviewed a work
item that was assigned to you. In this exercise, you update a repository workspace to a
baseline in which you can change source code to implement your assigned work item for
the JKE Banking project.
__ 1. Start the Rational Team Concert Eclipse client from the desktop shortcut, Quick Launch
toolbar, or Start menu.
Help. To start from the Start menu, click Start > All Programs > IBM Rational Team
Concert > IBM Rational Team Concert.
__ 2. In the Workspace Launcher window, select C:workspacesdeb; then click OK.
__ 3. Switch to the Work Items perspective, if necessary, and load a repository workspace with
code from a known-stable baseline:
• In the Team Artifacts view, expand My Repository Workspaces > Deb BRM Stream
Workspace.
• Right-click Java UI, and then click Replace With > Baseline.
• Select 2: Week 1 (Sprint 1, Release 1.0) from the list; then click Finish.
Help. In this case, this will be the same baseline that is currently being used.
__ 4. Right-click Deb BRM Stream Workspace, and then click Show > Repository Files. A new
Repository Files view opens in the workbench. Explore the file structure of the Java UI
project folder in the workspace.
__ 5. Right-click Deb BRM Stream Workspace, and then click New > Flow Diagram. A Flow
Diagram editor opens. In this window, you can see the flow of changes between workspaces
and streams in the project. Experiment with how you can tailor this flow diagram by
displaying only what is important to you and showing or hiding various streams and
workspaces.
Note which users have workspaces that deliver to the Conversion Team stream.
__ 6. 6. Close the flow diagram.
Help. Do not save the flow diagram.
Student Exercises
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
© Copyright IBM Corp. 2008, 2013 Exercise 3. Jazz Source Control 3-3
V9.0
EXempty 3.2. Complete and test your work
Scenario
In this exercise, you change Java™ source code in files that are in the Jazz™ source
control repository to resolve one of your assigned work items.Click File > Save to save the
JKEBanking.java file.
__ 1. In the My Work view, examine the Current Work section.
Help. The Current Work section identifies unresolved work items that are assigned to you
for the current project iteration.
__ 2. Double-click the work item called Add a Change Password function to open it in the Work
Item editor. Review the details of the work item.
__ 3. Near the top of the Work Item editor, click the arrow that is next to the work-item state
indicator, and from the list, click Start Working. Click Save. 
The work item state changes to In Progress. Click the arrow that is next to the task ID, and
then click Set as Current Work Item. 
This task becomes your active work item, as indicated by the task ID and summary that are
displayed in the lower status bar of the workbench.
__ 4. Switch to the Java perspective by clicking Window > Open Perspective > Java.
Help. After you identify a task to work on, switch to the Java perspective to make the
required code changes.
__ 5. In the Package Explorer view, expand the JKEJavaUI folders until you find the Java source
files: Click JKEJavaUI > src > com.jke.ui.
Help. Observe the yellow repository indicators on the folder and file icons. The indicators
signify that the resources are stored in a source control repository.
__ 6. Double-click the JKEBanking.java file. The JKEBanking.java file opens in an editor.
__ 7. In the JKEBanking.java file, find this line: private Shell fShell;
Help. To find the line, you can scroll and search, click Edit > Find/Replace, or click the
method in the Outline pane of the editor.
Student Exercises
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
3-4 Developing Software with IBM Rational Team Concert, V4.0.4 © Copyright IBM Corp. 2008, 2013
__ 8. After the private Shell fShell; line, add this line: private MenuItem
fChangePasswordItem;
Help. If the work item is not open in a Work Item editor, you can open it by double-clicking
the task ID and the title of the work item that is displayed near the bottom of the Eclipse
client.
__ 9. In the JKEBanking.java file, find this line: 
jkeMenuItem.setMenu(jkeMenu);
__ 10. After the jkeMenuItem.setMenu(jkeMenu); line, add this code:
fChangePasswordItem= new MenuItem(jkeMenu, SWT.NONE);
fChangePasswordItem.setText("&Change Password");
fChangePasswordItem.setEnabled(false);
__ 11. Click File > Save to save the JKEBanking.java file.
__ 12. In the Package Explorer view, right-click the JKEJavaUI folder, and then click Team >
Show Pending Changes. The Pending Changes view opens.
__ 13. Expand the folders in the Pending Changes view by clicking Deb BRM Stream Workspace
> Java UI > Unresolved. Expand the subfolders of the Unresolved folder to see the Java
source file that you changed.
Help. These changes are currently local to your Eclipse workspace, or sandbox, and have
not been saved in a Jazz source control repository workspace or stream. You might also see
an Incoming folder in the Pending Changes view. This folder is discussed later.
__ 14. Right-click the Unresolved folder in the Pending Changes view below the Deb BRM Stream
workspace, and then click Check-in All.
Help. This action checks in your changes to your personal repository workspace. Observe
that after the check-in is complete, the changes are no longer unresolved in the Pending
Changes view but are now part of an Outgoing change set that is associated with the
current work item.
__ 15. In the Package Explorer view, select the JKEJavaUI folder. Click Run > Run As > Java
Application. The user interface of the JKE Banking application window opens. Check the
menu for your change.
Help. Select the win-64 java application to start.
__ 16. Close the JKE Banking application window.
Student Exercises
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
© Copyright IBM Corp. 2008, 2013 Exercise 3. Jazz Source Control 3-5
V9.0
EXempty 3.3. Resolve conflicts and deliver your work
Scenario
You completed the changes to resolve the work item that was assigned to you for the JKE
Banking project. You will now resolve the work item and share your work with the rest of the
team. However, you are not the only developer who works on this project. You might need to
resolve conflicts if other developers modified the same file.
Although integration and merge activities are a normal part of parallel development, the lab
exercises provide unusual circumstances in which you merge changes with yourself.
Typically, you merge files that someone else on your team has changed.
__ 1. In the Pending Changes view, expand the Outgoing folder and subfolders for the Deb BRM
Stream Workspace.
Help. Verify that the Java source file that you modified is part of the Outgoing change set
that belongs to the Add a Change Password function work item.
__ 2. Mark the work item as resolved:
• Open the work item called “Add a Change Password function” in the Work Item editor.
• From the work item state list, select Complete; then click Save.
• In the Confirm Deliver window, click No. You do not want to deliver these change sets
now.
Tip: Double-click the current work item that is displayed at the bottom of the workbench.
__ 3. Deliver your change set from your repository workspace to the team stream: a. In the
Pending Changes view, right-click the Outgoing folder, and then click Deliver. b. Review
the suggestion in the error window, and then click OK to close the window.
Help. An error window notifies you that the delivery failed. Why did the delivery fail?
Before you continue, you might wonder what the incoming changes are that are waiting for
your acceptance in the Pending Changes view of your repository workspace.
Recall that when you created your repository workspace, you replaced the default
configuration with the latest baseline from the stream, Sprint 1 (Release 1.0). To refresh
your memory, review step 3 in Exercise 3.1. You can examine the changes that were
delivered to the stream after this baseline was applied:
• In the Deb BRM Stream Workspace, right-click JavaUI Component, and click Compare
with > Current Baseline.
Student Exercises
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
3-6 Developing Software with IBM Rational Team Concert, V4.0.4 © Copyright IBM Corp. 2008, 2013
• In the Change Explorer view, expand the JavaUI Component.
• Right-click one of the change sets, and then click Related Artifacts > Open. Review the
work item. What work does this work item request?
• Expand JavaUI Component and the change sets to find the file-level changes.
• Challenge: Compare the current version of the JKEBanking.java file in the stream
with the version that was used in the latest baseline.
__ 4. As suggested in the delivery error window, try to accept the incoming change sets:
• In the Pending Changes view, right-click the Incoming folder, and then click Accept.
• When you are prompted, click Auto-Resolve. Rational Team Concert tries to
automatically merge the conflicting files.
• Click OK to close the Auto Resolve window.
Help. A conflict arises because of the changes to the login screen that you made earlier.
You are notified that the conflicts could not be resolved automatically. You must merge the
changed files manually.
__ 5. In the Pending Changes view, observe that the incoming changes were moved to an
Outgoing folder.
• Right-click Add a Change Password function work item, and then click Set as
Current Work item. When you are prompted to reopen the work item, click Yes.
• Deliver your outgoing change set to the BRM stream by right-clicking the Outgoing
folder and then clicking Deliver. No outgoing changes remain to be delivered.
Student Exercises
Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.
© Copyright IBM Corp. 2008, 2013 Exercise 3. Jazz Source Control 3-7
V9.0
EXempty 3.4. Create and propagate baselines
Scenario
The development team completed its work. All changes are merged and delivered to the
BRM stream. The team lead creates a baseline that represents the sum of the changes and
delivers it to the stream.
__ 1. As the team lead, complete these steps to create a BRM baseline:
• In the Pending Changes view, expand all of the folders under Deb BRM Stream
Workspace. Refresh the view to ensure that no incoming, outgoing, or unresolved
change sets exist.
• If any incoming change sets exist, accept them, and resolve any conflicts.
• Right-click Java UI Component, and then click New > Baseline.
• Name the baseline Sprint 2 (Release 2.0).
• Click OK. The Pending Changes view now includes an outgoing change set that
contains the new baseline.
• Deliver the outgoing change set.
• In the Team Artifacts view, expand JKE Banking > Source Control > BRM Stream.
Help. After you complete this step, observe the baseline on the Java UI Component
element in the BRM stream. The baseline should be called Sprint 2 (Release 2.0).
__ 2. In the Pending Changes view, right-click Java UI Component, and then click Show >
History. In the component history, note the work items that you completed.
End of exercise

Weitere ähnliche Inhalte

Was ist angesagt?

Tutorial: Create a custom work item in Rational Team Concert
Tutorial: Create a custom work item in Rational Team ConcertTutorial: Create a custom work item in Rational Team Concert
Tutorial: Create a custom work item in Rational Team Concert
Bill Duncan
 
1) workbench basics
1) workbench basics1) workbench basics
1) workbench basics
techbed
 
Lab 7a) debug a web application
Lab 7a) debug a web applicationLab 7a) debug a web application
Lab 7a) debug a web application
techbed
 
230394452 extending-extending-srm-web-dynpro-view srm-web-dynpro-view
230394452 extending-extending-srm-web-dynpro-view srm-web-dynpro-view230394452 extending-extending-srm-web-dynpro-view srm-web-dynpro-view
230394452 extending-extending-srm-web-dynpro-view srm-web-dynpro-view
Faina Fridman
 

Was ist angesagt? (20)

RTC & Work Item Customization Overview
RTC & Work Item Customization OverviewRTC & Work Item Customization Overview
RTC & Work Item Customization Overview
 
Module 5: Reports and Dashboards
Module 5: Reports and DashboardsModule 5: Reports and Dashboards
Module 5: Reports and Dashboards
 
Agile planning with Rational Team Concert
Agile planning with Rational Team ConcertAgile planning with Rational Team Concert
Agile planning with Rational Team Concert
 
Agile planning with rational team concert
Agile planning with rational team concertAgile planning with rational team concert
Agile planning with rational team concert
 
Module 1: Overview of Rational Team Concert
Module 1: Overview of Rational Team ConcertModule 1: Overview of Rational Team Concert
Module 1: Overview of Rational Team Concert
 
Rational Team Concert source control for dummies
Rational Team Concert source control for dummiesRational Team Concert source control for dummies
Rational Team Concert source control for dummies
 
Rational Team Concert Process Customization - What you can and cannot do
Rational Team Concert Process Customization - What you can and cannot doRational Team Concert Process Customization - What you can and cannot do
Rational Team Concert Process Customization - What you can and cannot do
 
9.16.2013 Enlightenment Series - Managing parallel development with RTC: A st...
9.16.2013 Enlightenment Series - Managing parallel development with RTC: A st...9.16.2013 Enlightenment Series - Managing parallel development with RTC: A st...
9.16.2013 Enlightenment Series - Managing parallel development with RTC: A st...
 
Appendix A: Introduction to Collaborative Lifecycle Management
Appendix A: Introduction to Collaborative Lifecycle ManagementAppendix A: Introduction to Collaborative Lifecycle Management
Appendix A: Introduction to Collaborative Lifecycle Management
 
Tutorial: Create a custom work item in Rational Team Concert
Tutorial: Create a custom work item in Rational Team ConcertTutorial: Create a custom work item in Rational Team Concert
Tutorial: Create a custom work item in Rational Team Concert
 
1) workbench basics
1) workbench basics1) workbench basics
1) workbench basics
 
Deployment module slides
Deployment module slidesDeployment module slides
Deployment module slides
 
Create software builds with jazz team build
Create software builds with jazz team buildCreate software builds with jazz team build
Create software builds with jazz team build
 
EMC Documentum xCP 2.0 Design Patterns
EMC Documentum xCP 2.0 Design PatternsEMC Documentum xCP 2.0 Design Patterns
EMC Documentum xCP 2.0 Design Patterns
 
Lab 7a) debug a web application
Lab 7a) debug a web applicationLab 7a) debug a web application
Lab 7a) debug a web application
 
18 Invaluable Lessons About ADF-JSF Interaction
18 Invaluable Lessons About ADF-JSF Interaction18 Invaluable Lessons About ADF-JSF Interaction
18 Invaluable Lessons About ADF-JSF Interaction
 
EMC Documentum xCP 2.x Tips for application migration v1.1
EMC Documentum xCP 2.x Tips for application migration v1.1EMC Documentum xCP 2.x Tips for application migration v1.1
EMC Documentum xCP 2.x Tips for application migration v1.1
 
B ex query designer
B ex query designerB ex query designer
B ex query designer
 
Taking agile development to enterprise scale in a mixed tool environment with...
Taking agile development to enterprise scale in a mixed tool environment with...Taking agile development to enterprise scale in a mixed tool environment with...
Taking agile development to enterprise scale in a mixed tool environment with...
 
230394452 extending-extending-srm-web-dynpro-view srm-web-dynpro-view
230394452 extending-extending-srm-web-dynpro-view srm-web-dynpro-view230394452 extending-extending-srm-web-dynpro-view srm-web-dynpro-view
230394452 extending-extending-srm-web-dynpro-view srm-web-dynpro-view
 

Andere mochten auch

Napoleon - raport aktywności branż na facebooku - marzec 2012
Napoleon - raport aktywności branż na facebooku - marzec 2012Napoleon - raport aktywności branż na facebooku - marzec 2012
Napoleon - raport aktywności branż na facebooku - marzec 2012
NapoleonCat.com
 
360 degree
360 degree360 degree
360 degree
guddinti
 
Napoleon. Raport aktywności branż na Facebooku - czerwiec 2012
Napoleon. Raport aktywności branż na Facebooku - czerwiec 2012Napoleon. Raport aktywności branż na Facebooku - czerwiec 2012
Napoleon. Raport aktywności branż na Facebooku - czerwiec 2012
NapoleonCat.com
 
Website Development
Website DevelopmentWebsite Development
Website Development
mitchello44
 
Πολύχρωμη Σπείρα - Απόκριες 2011
Πολύχρωμη Σπείρα - Απόκριες 2011Πολύχρωμη Σπείρα - Απόκριες 2011
Πολύχρωμη Σπείρα - Απόκριες 2011
PolichromiSpira
 
Plug development
Plug developmentPlug development
Plug development
mitchello44
 
Napoleon - your brand management cat EN
Napoleon -  your brand management cat ENNapoleon -  your brand management cat EN
Napoleon - your brand management cat EN
NapoleonCat.com
 
Golden opportunity to invest 2011
Golden opportunity to invest 2011Golden opportunity to invest 2011
Golden opportunity to invest 2011
Fausto Cuzco
 
Sandberg v deetzen_trcomm_2010
Sandberg v deetzen_trcomm_2010Sandberg v deetzen_trcomm_2010
Sandberg v deetzen_trcomm_2010
Nitesh Chilakala
 
Nepali calendar-2070-bs
Nepali calendar-2070-bsNepali calendar-2070-bs
Nepali calendar-2070-bs
Raj Silwal
 
ΑΝΝΑ ΦΡΑΝΚ. ΚΕΙΜΕΝΑ ΝΕΟΕΛΛΗΝΙΚΗΣ ΛΟΓΟΤΕΧΝΙΑΣ. ΥΠΕΥΘΥΝΗ ΚΑΘΗΓΗΤΡΙΑ: ΖΑΡΚΟΓΙΑΝΝ...
ΑΝΝΑ ΦΡΑΝΚ. ΚΕΙΜΕΝΑ ΝΕΟΕΛΛΗΝΙΚΗΣ ΛΟΓΟΤΕΧΝΙΑΣ. ΥΠΕΥΘΥΝΗ ΚΑΘΗΓΗΤΡΙΑ: ΖΑΡΚΟΓΙΑΝΝ...ΑΝΝΑ ΦΡΑΝΚ. ΚΕΙΜΕΝΑ ΝΕΟΕΛΛΗΝΙΚΗΣ ΛΟΓΟΤΕΧΝΙΑΣ. ΥΠΕΥΘΥΝΗ ΚΑΘΗΓΗΤΡΙΑ: ΖΑΡΚΟΓΙΑΝΝ...
ΑΝΝΑ ΦΡΑΝΚ. ΚΕΙΜΕΝΑ ΝΕΟΕΛΛΗΝΙΚΗΣ ΛΟΓΟΤΕΧΝΙΑΣ. ΥΠΕΥΘΥΝΗ ΚΑΘΗΓΗΤΡΙΑ: ΖΑΡΚΟΓΙΑΝΝ...
Εύα Ζαρκογιάννη
 

Andere mochten auch (18)

DMT-2467 Like the Features in Rational DOORS 9? Come Check Them Out in DOORS...
DMT-2467	Like the Features in Rational DOORS 9? Come Check Them Out in DOORS...DMT-2467	Like the Features in Rational DOORS 9? Come Check Them Out in DOORS...
DMT-2467 Like the Features in Rational DOORS 9? Come Check Them Out in DOORS...
 
Ny under oslo presentasjon
Ny under oslo presentasjonNy under oslo presentasjon
Ny under oslo presentasjon
 
Napoleon - raport aktywności branż na facebooku - marzec 2012
Napoleon - raport aktywności branż na facebooku - marzec 2012Napoleon - raport aktywności branż na facebooku - marzec 2012
Napoleon - raport aktywności branż na facebooku - marzec 2012
 
360 degree
360 degree360 degree
360 degree
 
Napoleon. Raport aktywności branż na Facebooku - czerwiec 2012
Napoleon. Raport aktywności branż na Facebooku - czerwiec 2012Napoleon. Raport aktywności branż na Facebooku - czerwiec 2012
Napoleon. Raport aktywności branż na Facebooku - czerwiec 2012
 
TU Delft Msc Marine Technology Science Programme Advice
TU Delft Msc Marine Technology Science Programme AdviceTU Delft Msc Marine Technology Science Programme Advice
TU Delft Msc Marine Technology Science Programme Advice
 
2014
2014 2014
2014
 
Website Development
Website DevelopmentWebsite Development
Website Development
 
Ch6 rolling motion
Ch6 rolling motionCh6 rolling motion
Ch6 rolling motion
 
Πολύχρωμη Σπείρα - Απόκριες 2011
Πολύχρωμη Σπείρα - Απόκριες 2011Πολύχρωμη Σπείρα - Απόκριες 2011
Πολύχρωμη Σπείρα - Απόκριες 2011
 
Plug development
Plug developmentPlug development
Plug development
 
Bloger star
Bloger starBloger star
Bloger star
 
Napoleon - your brand management cat EN
Napoleon -  your brand management cat ENNapoleon -  your brand management cat EN
Napoleon - your brand management cat EN
 
Golden opportunity to invest 2011
Golden opportunity to invest 2011Golden opportunity to invest 2011
Golden opportunity to invest 2011
 
Sandberg v deetzen_trcomm_2010
Sandberg v deetzen_trcomm_2010Sandberg v deetzen_trcomm_2010
Sandberg v deetzen_trcomm_2010
 
Nepali calendar-2070-bs
Nepali calendar-2070-bsNepali calendar-2070-bs
Nepali calendar-2070-bs
 
ΑΝΝΑ ΦΡΑΝΚ. ΚΕΙΜΕΝΑ ΝΕΟΕΛΛΗΝΙΚΗΣ ΛΟΓΟΤΕΧΝΙΑΣ. ΥΠΕΥΘΥΝΗ ΚΑΘΗΓΗΤΡΙΑ: ΖΑΡΚΟΓΙΑΝΝ...
ΑΝΝΑ ΦΡΑΝΚ. ΚΕΙΜΕΝΑ ΝΕΟΕΛΛΗΝΙΚΗΣ ΛΟΓΟΤΕΧΝΙΑΣ. ΥΠΕΥΘΥΝΗ ΚΑΘΗΓΗΤΡΙΑ: ΖΑΡΚΟΓΙΑΝΝ...ΑΝΝΑ ΦΡΑΝΚ. ΚΕΙΜΕΝΑ ΝΕΟΕΛΛΗΝΙΚΗΣ ΛΟΓΟΤΕΧΝΙΑΣ. ΥΠΕΥΘΥΝΗ ΚΑΘΗΓΗΤΡΙΑ: ΖΑΡΚΟΓΙΑΝΝ...
ΑΝΝΑ ΦΡΑΝΚ. ΚΕΙΜΕΝΑ ΝΕΟΕΛΛΗΝΙΚΗΣ ΛΟΓΟΤΕΧΝΙΑΣ. ΥΠΕΥΘΥΝΗ ΚΑΘΗΓΗΤΡΙΑ: ΖΑΡΚΟΓΙΑΝΝ...
 
Blogerzy w społecznościach
Blogerzy w społecznościachBlogerzy w społecznościach
Blogerzy w społecznościach
 

Ähnlich wie Lab3 RTC Source Control

Part 5 running java applications
Part 5 running java applicationsPart 5 running java applications
Part 5 running java applications
techbed
 
Lab 5b) create a java server faces application
Lab 5b) create a java server faces applicationLab 5b) create a java server faces application
Lab 5b) create a java server faces application
techbed
 
Generic Repository Pattern in MVC3 Application with Entity Framework
Generic Repository Pattern in MVC3 Application with Entity FrameworkGeneric Repository Pattern in MVC3 Application with Entity Framework
Generic Repository Pattern in MVC3 Application with Entity Framework
Akhil Mittal
 
Part 1 workbench basics
Part 1 workbench basicsPart 1 workbench basics
Part 1 workbench basics
techbed
 
Lab 7b) test a web application
Lab 7b) test a web applicationLab 7b) test a web application
Lab 7b) test a web application
techbed
 
Lab #9 and 10 Web Server ProgrammingCreate a New Folder I s.docx
Lab #9 and 10 Web Server ProgrammingCreate a New Folder  I s.docxLab #9 and 10 Web Server ProgrammingCreate a New Folder  I s.docx
Lab #9 and 10 Web Server ProgrammingCreate a New Folder I s.docx
DIPESH30
 

Ähnlich wie Lab3 RTC Source Control (20)

Part 5 running java applications
Part 5 running java applicationsPart 5 running java applications
Part 5 running java applications
 
How to deploy a j2ee application
How to deploy a j2ee applicationHow to deploy a j2ee application
How to deploy a j2ee application
 
os-php-wiki5-a4
os-php-wiki5-a4os-php-wiki5-a4
os-php-wiki5-a4
 
os-php-wiki5-a4
os-php-wiki5-a4os-php-wiki5-a4
os-php-wiki5-a4
 
Lab 5b) create a java server faces application
Lab 5b) create a java server faces applicationLab 5b) create a java server faces application
Lab 5b) create a java server faces application
 
Notepad tutorial
Notepad tutorialNotepad tutorial
Notepad tutorial
 
VBA Tips
VBA TipsVBA Tips
VBA Tips
 
Custom JSF components
Custom JSF componentsCustom JSF components
Custom JSF components
 
Components lab
Components labComponents lab
Components lab
 
Components lab
Components labComponents lab
Components lab
 
Lab 2: Creating views at the project level in the web client
Lab 2: Creating views at the project level in the web clientLab 2: Creating views at the project level in the web client
Lab 2: Creating views at the project level in the web client
 
Oracle ADF 11g Tutorial
Oracle ADF 11g TutorialOracle ADF 11g Tutorial
Oracle ADF 11g Tutorial
 
IBM MobileFirst Platform v7.0 POT Offers Lab v1.0
IBM MobileFirst Platform v7.0 POT Offers Lab v1.0IBM MobileFirst Platform v7.0 POT Offers Lab v1.0
IBM MobileFirst Platform v7.0 POT Offers Lab v1.0
 
Generic Repository Pattern in MVC3 Application with Entity Framework
Generic Repository Pattern in MVC3 Application with Entity FrameworkGeneric Repository Pattern in MVC3 Application with Entity Framework
Generic Repository Pattern in MVC3 Application with Entity Framework
 
Part 1 workbench basics
Part 1 workbench basicsPart 1 workbench basics
Part 1 workbench basics
 
EMC Documentum xCP 2.2 Self Paced Tutorial v1.0
EMC Documentum xCP 2.2 Self Paced Tutorial v1.0EMC Documentum xCP 2.2 Self Paced Tutorial v1.0
EMC Documentum xCP 2.2 Self Paced Tutorial v1.0
 
Lab 7b) test a web application
Lab 7b) test a web applicationLab 7b) test a web application
Lab 7b) test a web application
 
Lab 2: Importing requirements artifacts from a CSV file
Lab 2: Importing requirements artifacts from a CSV file Lab 2: Importing requirements artifacts from a CSV file
Lab 2: Importing requirements artifacts from a CSV file
 
Lab 3: Commenting on artifacts and customizing dashboards
Lab 3: Commenting on artifacts and customizing dashboardsLab 3: Commenting on artifacts and customizing dashboards
Lab 3: Commenting on artifacts and customizing dashboards
 
Lab #9 and 10 Web Server ProgrammingCreate a New Folder I s.docx
Lab #9 and 10 Web Server ProgrammingCreate a New Folder  I s.docxLab #9 and 10 Web Server ProgrammingCreate a New Folder  I s.docx
Lab #9 and 10 Web Server ProgrammingCreate a New Folder I s.docx
 

Mehr von IBM Rational software

IBM Rational Developer for System z Quick Start Sales Presentation
IBM Rational Developer for System z Quick Start Sales PresentationIBM Rational Developer for System z Quick Start Sales Presentation
IBM Rational Developer for System z Quick Start Sales Presentation
IBM Rational software
 

Mehr von IBM Rational software (16)

Dmt 5899 workshop - Learn to Collaborate, Trace, Review and Reuse Your Requir...
Dmt 5899 workshop - Learn to Collaborate, Trace, Review and Reuse Your Requir...Dmt 5899 workshop - Learn to Collaborate, Trace, Review and Reuse Your Requir...
Dmt 5899 workshop - Learn to Collaborate, Trace, Review and Reuse Your Requir...
 
Security
SecuritySecurity
Security
 
Steer at the Team Level with Rational Team Concert
Steer at the Team Level with Rational Team ConcertSteer at the Team Level with Rational Team Concert
Steer at the Team Level with Rational Team Concert
 
Applications lab
Applications lab Applications lab
Applications lab
 
Application slides
Application slidesApplication slides
Application slides
 
UCD components
UCD components UCD components
UCD components
 
Resource lab
Resource labResource lab
Resource lab
 
Resources slides
Resources slidesResources slides
Resources slides
 
UrbanCode Deploy course and product overview slides
UrbanCode Deploy course and product overview slidesUrbanCode Deploy course and product overview slides
UrbanCode Deploy course and product overview slides
 
IBM InterConnect Speaker Proposal Tips
IBM InterConnect Speaker Proposal TipsIBM InterConnect Speaker Proposal Tips
IBM InterConnect Speaker Proposal Tips
 
Factors to consider when starting a brand-new requirements management project...
Factors to consider when starting a brand-new requirements management project...Factors to consider when starting a brand-new requirements management project...
Factors to consider when starting a brand-new requirements management project...
 
IBM DevOps Announcements - June 2014
IBM DevOps Announcements - June 2014IBM DevOps Announcements - June 2014
IBM DevOps Announcements - June 2014
 
IBM Rational Developer for System z Quick Start Sales Presentation
IBM Rational Developer for System z Quick Start Sales PresentationIBM Rational Developer for System z Quick Start Sales Presentation
IBM Rational Developer for System z Quick Start Sales Presentation
 
Rational consulting café to go menu
Rational consulting café to go menuRational consulting café to go menu
Rational consulting café to go menu
 
Foundations of the Scaled Agile Framework: Be Agile. Scale Up. Stay Lean. And...
Foundations of the Scaled Agile Framework: Be Agile. Scale Up. Stay Lean. And...Foundations of the Scaled Agile Framework: Be Agile. Scale Up. Stay Lean. And...
Foundations of the Scaled Agile Framework: Be Agile. Scale Up. Stay Lean. And...
 
ClearCase Version Importer - a migration tool to Rational Team Concert SCM
ClearCase Version Importer - a migration tool to Rational Team Concert SCMClearCase Version Importer - a migration tool to Rational Team Concert SCM
ClearCase Version Importer - a migration tool to Rational Team Concert SCM
 

Kürzlich hochgeladen

+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
VictorSzoltysek
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
VishalKumarJha10
 

Kürzlich hochgeladen (20)

The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
Pharm-D Biostatistics and Research methodology
Pharm-D Biostatistics and Research methodologyPharm-D Biostatistics and Research methodology
Pharm-D Biostatistics and Research methodology
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdfAzure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 

Lab3 RTC Source Control

  • 2. Student Exercises Course materials may not be reproduced in whole or in part without the prior written permission of IBM. © Copyright IBM Corp. 2008, 2013 Exercise 3. Jazz Source Control 3-1 V9.0 EXempty Exercise 3. Jazz Source Control What this exercise is about The purpose of this exercise is to master the primary source-control capabilities of IBM® Rational Team Concert™: use source control, create workspaces, manage change sets, make and deliver software changes, resolve file conflicts, and manipulate your workspaces and streams. What you should be able to do At the end of this exercise, you should be able to: • Create a repository workspace and begin working on a team. • Associate your work with the appropriate work items. • Review and manage change sets. • Detect and resolve file conflicts. • Change the configuration of your workspaces.
  • 3. Student Exercises Course materials may not be reproduced in whole or in part without the prior written permission of IBM. 3-2 Developing Software with IBM Rational Team Concert, V4.0.4 © Copyright IBM Corp. 2008, 2013 3.1. Create a repository workspace for the JKE Banking project Scenario In the previous exercises, you joined the JKE Banking project team and reviewed a work item that was assigned to you. In this exercise, you update a repository workspace to a baseline in which you can change source code to implement your assigned work item for the JKE Banking project. __ 1. Start the Rational Team Concert Eclipse client from the desktop shortcut, Quick Launch toolbar, or Start menu. Help. To start from the Start menu, click Start > All Programs > IBM Rational Team Concert > IBM Rational Team Concert. __ 2. In the Workspace Launcher window, select C:workspacesdeb; then click OK. __ 3. Switch to the Work Items perspective, if necessary, and load a repository workspace with code from a known-stable baseline: • In the Team Artifacts view, expand My Repository Workspaces > Deb BRM Stream Workspace. • Right-click Java UI, and then click Replace With > Baseline. • Select 2: Week 1 (Sprint 1, Release 1.0) from the list; then click Finish. Help. In this case, this will be the same baseline that is currently being used. __ 4. Right-click Deb BRM Stream Workspace, and then click Show > Repository Files. A new Repository Files view opens in the workbench. Explore the file structure of the Java UI project folder in the workspace. __ 5. Right-click Deb BRM Stream Workspace, and then click New > Flow Diagram. A Flow Diagram editor opens. In this window, you can see the flow of changes between workspaces and streams in the project. Experiment with how you can tailor this flow diagram by displaying only what is important to you and showing or hiding various streams and workspaces. Note which users have workspaces that deliver to the Conversion Team stream. __ 6. 6. Close the flow diagram. Help. Do not save the flow diagram.
  • 4. Student Exercises Course materials may not be reproduced in whole or in part without the prior written permission of IBM. © Copyright IBM Corp. 2008, 2013 Exercise 3. Jazz Source Control 3-3 V9.0 EXempty 3.2. Complete and test your work Scenario In this exercise, you change Java™ source code in files that are in the Jazz™ source control repository to resolve one of your assigned work items.Click File > Save to save the JKEBanking.java file. __ 1. In the My Work view, examine the Current Work section. Help. The Current Work section identifies unresolved work items that are assigned to you for the current project iteration. __ 2. Double-click the work item called Add a Change Password function to open it in the Work Item editor. Review the details of the work item. __ 3. Near the top of the Work Item editor, click the arrow that is next to the work-item state indicator, and from the list, click Start Working. Click Save.  The work item state changes to In Progress. Click the arrow that is next to the task ID, and then click Set as Current Work Item.  This task becomes your active work item, as indicated by the task ID and summary that are displayed in the lower status bar of the workbench. __ 4. Switch to the Java perspective by clicking Window > Open Perspective > Java. Help. After you identify a task to work on, switch to the Java perspective to make the required code changes. __ 5. In the Package Explorer view, expand the JKEJavaUI folders until you find the Java source files: Click JKEJavaUI > src > com.jke.ui. Help. Observe the yellow repository indicators on the folder and file icons. The indicators signify that the resources are stored in a source control repository. __ 6. Double-click the JKEBanking.java file. The JKEBanking.java file opens in an editor. __ 7. In the JKEBanking.java file, find this line: private Shell fShell; Help. To find the line, you can scroll and search, click Edit > Find/Replace, or click the method in the Outline pane of the editor.
  • 5. Student Exercises Course materials may not be reproduced in whole or in part without the prior written permission of IBM. 3-4 Developing Software with IBM Rational Team Concert, V4.0.4 © Copyright IBM Corp. 2008, 2013 __ 8. After the private Shell fShell; line, add this line: private MenuItem fChangePasswordItem; Help. If the work item is not open in a Work Item editor, you can open it by double-clicking the task ID and the title of the work item that is displayed near the bottom of the Eclipse client. __ 9. In the JKEBanking.java file, find this line:  jkeMenuItem.setMenu(jkeMenu); __ 10. After the jkeMenuItem.setMenu(jkeMenu); line, add this code: fChangePasswordItem= new MenuItem(jkeMenu, SWT.NONE); fChangePasswordItem.setText("&Change Password"); fChangePasswordItem.setEnabled(false); __ 11. Click File > Save to save the JKEBanking.java file. __ 12. In the Package Explorer view, right-click the JKEJavaUI folder, and then click Team > Show Pending Changes. The Pending Changes view opens. __ 13. Expand the folders in the Pending Changes view by clicking Deb BRM Stream Workspace > Java UI > Unresolved. Expand the subfolders of the Unresolved folder to see the Java source file that you changed. Help. These changes are currently local to your Eclipse workspace, or sandbox, and have not been saved in a Jazz source control repository workspace or stream. You might also see an Incoming folder in the Pending Changes view. This folder is discussed later. __ 14. Right-click the Unresolved folder in the Pending Changes view below the Deb BRM Stream workspace, and then click Check-in All. Help. This action checks in your changes to your personal repository workspace. Observe that after the check-in is complete, the changes are no longer unresolved in the Pending Changes view but are now part of an Outgoing change set that is associated with the current work item. __ 15. In the Package Explorer view, select the JKEJavaUI folder. Click Run > Run As > Java Application. The user interface of the JKE Banking application window opens. Check the menu for your change. Help. Select the win-64 java application to start. __ 16. Close the JKE Banking application window.
  • 6. Student Exercises Course materials may not be reproduced in whole or in part without the prior written permission of IBM. © Copyright IBM Corp. 2008, 2013 Exercise 3. Jazz Source Control 3-5 V9.0 EXempty 3.3. Resolve conflicts and deliver your work Scenario You completed the changes to resolve the work item that was assigned to you for the JKE Banking project. You will now resolve the work item and share your work with the rest of the team. However, you are not the only developer who works on this project. You might need to resolve conflicts if other developers modified the same file. Although integration and merge activities are a normal part of parallel development, the lab exercises provide unusual circumstances in which you merge changes with yourself. Typically, you merge files that someone else on your team has changed. __ 1. In the Pending Changes view, expand the Outgoing folder and subfolders for the Deb BRM Stream Workspace. Help. Verify that the Java source file that you modified is part of the Outgoing change set that belongs to the Add a Change Password function work item. __ 2. Mark the work item as resolved: • Open the work item called “Add a Change Password function” in the Work Item editor. • From the work item state list, select Complete; then click Save. • In the Confirm Deliver window, click No. You do not want to deliver these change sets now. Tip: Double-click the current work item that is displayed at the bottom of the workbench. __ 3. Deliver your change set from your repository workspace to the team stream: a. In the Pending Changes view, right-click the Outgoing folder, and then click Deliver. b. Review the suggestion in the error window, and then click OK to close the window. Help. An error window notifies you that the delivery failed. Why did the delivery fail? Before you continue, you might wonder what the incoming changes are that are waiting for your acceptance in the Pending Changes view of your repository workspace. Recall that when you created your repository workspace, you replaced the default configuration with the latest baseline from the stream, Sprint 1 (Release 1.0). To refresh your memory, review step 3 in Exercise 3.1. You can examine the changes that were delivered to the stream after this baseline was applied: • In the Deb BRM Stream Workspace, right-click JavaUI Component, and click Compare with > Current Baseline.
  • 7. Student Exercises Course materials may not be reproduced in whole or in part without the prior written permission of IBM. 3-6 Developing Software with IBM Rational Team Concert, V4.0.4 © Copyright IBM Corp. 2008, 2013 • In the Change Explorer view, expand the JavaUI Component. • Right-click one of the change sets, and then click Related Artifacts > Open. Review the work item. What work does this work item request? • Expand JavaUI Component and the change sets to find the file-level changes. • Challenge: Compare the current version of the JKEBanking.java file in the stream with the version that was used in the latest baseline. __ 4. As suggested in the delivery error window, try to accept the incoming change sets: • In the Pending Changes view, right-click the Incoming folder, and then click Accept. • When you are prompted, click Auto-Resolve. Rational Team Concert tries to automatically merge the conflicting files. • Click OK to close the Auto Resolve window. Help. A conflict arises because of the changes to the login screen that you made earlier. You are notified that the conflicts could not be resolved automatically. You must merge the changed files manually. __ 5. In the Pending Changes view, observe that the incoming changes were moved to an Outgoing folder. • Right-click Add a Change Password function work item, and then click Set as Current Work item. When you are prompted to reopen the work item, click Yes. • Deliver your outgoing change set to the BRM stream by right-clicking the Outgoing folder and then clicking Deliver. No outgoing changes remain to be delivered.
  • 8. Student Exercises Course materials may not be reproduced in whole or in part without the prior written permission of IBM. © Copyright IBM Corp. 2008, 2013 Exercise 3. Jazz Source Control 3-7 V9.0 EXempty 3.4. Create and propagate baselines Scenario The development team completed its work. All changes are merged and delivered to the BRM stream. The team lead creates a baseline that represents the sum of the changes and delivers it to the stream. __ 1. As the team lead, complete these steps to create a BRM baseline: • In the Pending Changes view, expand all of the folders under Deb BRM Stream Workspace. Refresh the view to ensure that no incoming, outgoing, or unresolved change sets exist. • If any incoming change sets exist, accept them, and resolve any conflicts. • Right-click Java UI Component, and then click New > Baseline. • Name the baseline Sprint 2 (Release 2.0). • Click OK. The Pending Changes view now includes an outgoing change set that contains the new baseline. • Deliver the outgoing change set. • In the Team Artifacts view, expand JKE Banking > Source Control > BRM Stream. Help. After you complete this step, observe the baseline on the Java UI Component element in the BRM stream. The baseline should be called Sprint 2 (Release 2.0). __ 2. In the Pending Changes view, right-click Java UI Component, and then click Show > History. In the component history, note the work items that you completed. End of exercise