SlideShare ist ein Scribd-Unternehmen logo
1 von 40
Introduction to Rational Rose 98i Module 10: Team Development
Objectives:  Team Development ,[object Object],[object Object],[object Object]
What are Controlled Units? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
How Are Controlled Units Stored? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Sample Model File .mdl file .cat file .cat file .cat file .cat file .cat file .cat file
Designating Controlled Units
Showing Unit Visibility on a Diagram U means the package is a  controlled unit
Loading and Unloading Controlled Units ,[object Object],[object Object],[object Object],[object Object],[object Object]
Loaded/Unloaded Units in the Browser Unloaded unit Loaded unit
Unresolved Reference Adornment
Unresolved References ,[object Object],[object Object],[object Object],[object Object]
Write-protecting Controlled Units ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Integrating Rose with a CM System ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Rose Model Integrator ,[object Object],[object Object],[object Object],[object Object],[object Object]
Model Integrator - Load/Unload Subunits ,[object Object],[object Object]
Model Integrator - Load/Unload Subunits
Rose Model Integrator - Comparing Files Item Changed Item Moved Item Added Item Deleted Set Merge Mode
Rose Model Integrator - Merge Files ,[object Object],[object Object],[object Object],[object Object]
Rose Model Integrator - Merge Files Number of contributor Merge menu Set Compare Mode
Source Code Control Add-in ,[object Object],[object Object],[object Object],[object Object]
Source Code Control Menu
Team Development Step by Step 1.  Identify configuration management system 3.  Identify developer workspaces 2.  Identify integration workspace 4.  Define integration strategy 5.  Create virtual pathmap symbols 7.  Determine controlled units and place them under CM control 6.  Provide access to the  configuration management tool
Step 1:  Identify CM System ,[object Object]
Step 2:  Identify Integration Workspaces ,[object Object],[object Object],[object Object],[object Object]
Integration Workspace integration_view on ‘view’ (Z:) model_vob reuse_vob
Step 3:  Identify Developer Workspaces ,[object Object],[object Object],moe_view on view (Z:) model_vob reuse_vob curly_view on view (X:) model_vob reuse_vob MOE CURLY
Step 4: Define Integration Strategy  ,[object Object],[object Object],[object Object],[object Object],[object Object]
Step 5:  Create Virtual Pathmap Symbols ,[object Object],[object Object],[object Object],[object Object]
How Does Rose Use Virtual Path Names? ,[object Object],[object Object],[object Object],[object Object],[object Object]
Step 6:  Provide Access to the CM System ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Step 6:  Provide Access to the CM System ,[object Object],[object Object],[object Object],[object Object],[object Object]
Step 7:  Determine Controlled Units ,[object Object],[object Object],[object Object],[object Object]
Team Development Example LARRY Y:odel_vobatabase.cat, register.cat, errors.cat CURLY X:odel_vobatabase.cat, register.cat, errors.cat Z:odel_vobatabase.cat, register.cat, errors.cat Get Latest Get Latest Get Latest MOE W:odel_vobatabase.cat, register.cat, errors.cat
Team Development Example ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Team Development Example LARRY Y:odel_vobatabase.cat, register.cat, errors.cat CURLY X:odel_vobatabase.cat, register.cat, errors.cat Z:odel_vobatabase.cat, register.cat, errors.cat Check out database.cat Check out register.cat Check out errors.cat MOE W:odel_vobatabase.cat, register.cat, errors.cat
Team Development Example LARRY Y:odel_vobatabase.cat, register.cat, errors.cat Z:odel_vobatabase.cat, register.cat, errors.cat Check in register.cat Larry finished his changes and asked the CM system to check-in register.cat A new version of the file is checked in on the element branch that is referenced by Larry’s view Changes to register.cat are available to other developers after it is check-in to the VOB provided their views reference Larry’s branch
Exercise:  Create a CURDIR Pathmap
Exercise:  Controlled Units ,[object Object]
Exercise:  Write Protection ,[object Object]
Exercise:  Verify Write Protection

Weitere ähnliche Inhalte

Ähnlich wie 10team

What is Dll, Assemblies and GAC...?
What is Dll, Assemblies and GAC...?What is Dll, Assemblies and GAC...?
What is Dll, Assemblies and GAC...?
Raja Naqash
 
Whmcs addon module docs
Whmcs addon module docsWhmcs addon module docs
Whmcs addon module docs
quyvn
 
Introduction to Software Build Technology
Introduction to Software Build TechnologyIntroduction to Software Build Technology
Introduction to Software Build Technology
Philip Johnson
 

Ähnlich wie 10team (20)

ClearCase Basics
ClearCase BasicsClearCase Basics
ClearCase Basics
 
Software Build processes and Git
Software Build processes and GitSoftware Build processes and Git
Software Build processes and Git
 
OroCRM Partner Technical Training: September 2015
OroCRM Partner Technical Training: September 2015OroCRM Partner Technical Training: September 2015
OroCRM Partner Technical Training: September 2015
 
THE CLR AND THE .NET FRAMEWORK, C#
THE CLR AND THE .NET FRAMEWORK, C#THE CLR AND THE .NET FRAMEWORK, C#
THE CLR AND THE .NET FRAMEWORK, C#
 
What is Dll, Assemblies and GAC...?
What is Dll, Assemblies and GAC...?What is Dll, Assemblies and GAC...?
What is Dll, Assemblies and GAC...?
 
Dashboard
DashboardDashboard
Dashboard
 
Maven in mulesoft
Maven in mulesoftMaven in mulesoft
Maven in mulesoft
 
Drupal Modules
Drupal ModulesDrupal Modules
Drupal Modules
 
Best practices for share point solution deployment
Best practices for share point solution deploymentBest practices for share point solution deployment
Best practices for share point solution deployment
 
Form part1
Form part1Form part1
Form part1
 
Odoo (Build module, Security, ORM)
Odoo (Build module, Security, ORM)Odoo (Build module, Security, ORM)
Odoo (Build module, Security, ORM)
 
Readme
ReadmeReadme
Readme
 
Automation Framework 042009 V2
Automation Framework   042009  V2Automation Framework   042009  V2
Automation Framework 042009 V2
 
Whmcs addon module docs
Whmcs addon module docsWhmcs addon module docs
Whmcs addon module docs
 
Actionview
ActionviewActionview
Actionview
 
Introduction to Software Build Technology
Introduction to Software Build TechnologyIntroduction to Software Build Technology
Introduction to Software Build Technology
 
An Introduction to Maven and Flex
An Introduction to Maven and FlexAn Introduction to Maven and Flex
An Introduction to Maven and Flex
 
Frequently Used Off Host Developer Toolsl
Frequently Used Off Host Developer ToolslFrequently Used Off Host Developer Toolsl
Frequently Used Off Host Developer Toolsl
 
Exploring Maven SVN GIT
Exploring Maven SVN GITExploring Maven SVN GIT
Exploring Maven SVN GIT
 
Mageguru - magento custom module development
Mageguru -  magento custom module development Mageguru -  magento custom module development
Mageguru - magento custom module development
 

Mehr von Nguyen Tran (20)

Se 06
Se 06Se 06
Se 06
 
12report
12report12report
12report
 
11script
11script11script
11script
 
08activity
08activity08activity
08activity
 
05sequence
05sequence05sequence
05sequence
 
04class
04class04class
04class
 
03usecase
03usecase03usecase
03usecase
 
02intro
02intro02intro
02intro
 
01about
01about01about
01about
 
Clear case
Clear caseClear case
Clear case
 
Business process excution language
Business process excution languageBusiness process excution language
Business process excution language
 
Vs doc man
Vs doc manVs doc man
Vs doc man
 
Cm mi
Cm miCm mi
Cm mi
 
Sql packager
Sql packagerSql packager
Sql packager
 
Snag it
Snag itSnag it
Snag it
 
Record mydesktop
Record mydesktopRecord mydesktop
Record mydesktop
 
Rational suite&rational rose enterprise
Rational suite&rational rose enterpriseRational suite&rational rose enterprise
Rational suite&rational rose enterprise
 
Umodel 2009
Umodel 2009Umodel 2009
Umodel 2009
 
Rational composer method
Rational composer methodRational composer method
Rational composer method
 
Rational robot
Rational robotRational robot
Rational robot
 

10team

  • 1. Introduction to Rational Rose 98i Module 10: Team Development
  • 2.
  • 3.
  • 4.
  • 5. Sample Model File .mdl file .cat file .cat file .cat file .cat file .cat file .cat file
  • 7. Showing Unit Visibility on a Diagram U means the package is a controlled unit
  • 8.
  • 9. Loaded/Unloaded Units in the Browser Unloaded unit Loaded unit
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16. Model Integrator - Load/Unload Subunits
  • 17. Rose Model Integrator - Comparing Files Item Changed Item Moved Item Added Item Deleted Set Merge Mode
  • 18.
  • 19. Rose Model Integrator - Merge Files Number of contributor Merge menu Set Compare Mode
  • 20.
  • 22. Team Development Step by Step 1. Identify configuration management system 3. Identify developer workspaces 2. Identify integration workspace 4. Define integration strategy 5. Create virtual pathmap symbols 7. Determine controlled units and place them under CM control 6. Provide access to the configuration management tool
  • 23.
  • 24.
  • 25. Integration Workspace integration_view on ‘view’ (Z:) model_vob reuse_vob
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33. Team Development Example LARRY Y:odel_vobatabase.cat, register.cat, errors.cat CURLY X:odel_vobatabase.cat, register.cat, errors.cat Z:odel_vobatabase.cat, register.cat, errors.cat Get Latest Get Latest Get Latest MOE W:odel_vobatabase.cat, register.cat, errors.cat
  • 34.
  • 35. Team Development Example LARRY Y:odel_vobatabase.cat, register.cat, errors.cat CURLY X:odel_vobatabase.cat, register.cat, errors.cat Z:odel_vobatabase.cat, register.cat, errors.cat Check out database.cat Check out register.cat Check out errors.cat MOE W:odel_vobatabase.cat, register.cat, errors.cat
  • 36. Team Development Example LARRY Y:odel_vobatabase.cat, register.cat, errors.cat Z:odel_vobatabase.cat, register.cat, errors.cat Check in register.cat Larry finished his changes and asked the CM system to check-in register.cat A new version of the file is checked in on the element branch that is referenced by Larry’s view Changes to register.cat are available to other developers after it is check-in to the VOB provided their views reference Larry’s branch
  • 37. Exercise: Create a CURDIR Pathmap
  • 38.
  • 39.
  • 40. Exercise: Verify Write Protection

Hinweis der Redaktion

  1. Each controlled unit is usually owned by one developer. A developer may own more than one controlled unit.
  2. To make a package a controlled unit Click right on the package in the Browser to make the pop up menu visible. Select the Units:Control<package name> menu command. Navigate to the desired directory. Enter the name of the controlled unit in the File Name field. Click Save. Each package in the model should be made a controlled unit.
  3. To display unit visibility Select the Tools:Options menu command. Select the Diagram tab. Click to select the Unit Adornments checkbox to toggle the selection. Click OK to close the Options window.
  4. To load a controlled unit Click right on the package in the Browser. The pop up menu appears. Select the Units:Load menu command. OR To demand load a controlled unit, double click on the package representing the controlled unit on a class diagram.
  5. If a package is a controlled unit, an icon is added to the Browser to indicate if the unit is loaded or unloaded.
  6. To display unresolved reference adornments Select the Tools:Options menu command. Select the Diagram tab. Click the Unresolved References checkbox to toggle the selection.
  7. To manually write protect a controlled unit Click right to select the controlled unit (package) in the Browser. Select the Units:Write Protect <package name> menu command .
  8. To use the version control system integration, the Version Control Add-In must be active. It is active if the Tools menu contains a Version Control menu. Note that the Version Control Add-In is available only on Windows. To activate the Version Control Add-In: Click Add-In Manager on the Add-Ins menu. Select the Version Control add-in and click OK. If the Version Control add-in is not present, the Version Control Add-In is not installed. To install the Version Control Add-In: Run the Rational Rose setup program. Select a Custom install, and select the Version Control Add-In feature. If the Version Control Add-In feature is not present, the add-in is not available in your Rational Rose edition. See Rose Help for setting up your version control system .
  9. To open the Rose Model Integrator Go to the Tools menu. Select Model Integrator. The Model Integrator dialog box opens. Go to the File menu and select Contributors. Select the files to compare/merge for your project. Select the Compare or Merge button. Notice that the first button changes names to Compare or Merge based on your selection. Click the Compare/Merge button. The Rose Model Integrator allows a team of developers to: work on different model components that reside in different .cat files merge their components into one base model compare differences between model elements and merge the changes as needed
  10. To unload a controlled unit Select a unit that has a status of LOAD. Click on the status field for the controlled unit. The unit changes to a status of unloaded. Click OK. To load a controlled unit Select a unit that has a status of unloaded. Click on the status field for the controlled unit. The unit should change to a status of LOAD. Click OK. Note: Only previously controlled units will have a status of LOAD or unloaded. A non-controlled unit will have a status of ‘not a unit’. These units can not be loaded or unloaded.
  11. Compare shows all differences between contributor files. The symbols that indicate the results of a Compare are displayed in the ‘C’ column. Item Changed : An item has been changed in one of the contributor files. Item Moved : An item has been moved in one of the contributor files. Item Added : An item has been added in one of the contributor files. Item Deleted : An item has been deleted in one of the contributor files. Note: For a complete list of symbols that can appear in the Compare mode, refer to Rose’s online help or documentation. The user can switch to the Merge mode by clicking on the Set Merge Mode toolbar icon.
  12. To resolve a conflict between contributor files Select the unresolved item from the Browser. From the toolbar, select the number of the Contributor from which to accept changes. Note: The recipient field displays only in the Merge mode. To return to the Compare mode clicking on the Set Compare Mode toolbar.
  13. The Version control add in includes the frequently used configuration management commands and is located on the Version Control submenu (from the Tools menu) and the CM submenu (from the Units submenu). Add to Version Control: place a new unit under configuration control; associate an element that was controlled outside of Rose with the current CM project; define a CM project. Remove from Version Control: remove units from the current CM project. Start Version Control Explorer: start your SCC provider application from Rational Rose Check in: put a controlled unit into the CM system. Check out: get a controlled unit from the CM system (read-write access, unit is locked) Undo Check out: return unit to CM system, undo any edits by the current developer. Get Latest: update Rose model with any check-ins by other developers which impact the current developer’s view. File Properties and File History: display property and history information about controlled units that have been added to the version control system.
  14. Access to the integrated workspace may be provided by various means. Examples: NFS, Novell, Windows for Workgroups The integration workspace can be accessed by all users. The integration workspace is typically located on a server. In ClearCase, the integration workspace is a view.
  15. Private workspaces typically contain work in progress. Developer workspaces may be on a view server or on a local disk.
  16. The model may be moved or copied among workspaces by redefining the actual directory associated with the model.
  17. To place a package under version control, the owning package must be checked out.
  18. To get the latest version of a controlled unit (read-only versions) Select the Tools:Version Control: Get Latest menu command. Select the desired controlled units. Click the Get button.
  19. Moe now has a read-write version of database.cat, which is locked (no other developer can check out database.cat). Larry now has a read-write version of register.cat, which is locked (no other developer can check out register.cat). Curly now has a read-write version of errors.cat, which is locked (no other developer can check out errors.cat). By checking out a package to a private workspace, developers can make changes to it without impacting our development.
  20. To check out a controlled unit In the Browser, click-right to select the package representing the controlled unit. The pop up menu appears. Select the Check Out menu command.
  21. To check in a controlled unit In the Browser, click-right to select the package representing the controlled unit. The pop up menu appears. Select the Check In menu command. Other developers will not automatically get the changes to register.cat. They have to execute the Get Latest command to copy the latest version into their private workspaces.
  22. Hint: Right click on the package in the Browser and select the Control <package name> menu command.
  23. To open the Business Objects main class diagram In the Browser, click the + next to the Business Objects package to expand the package. Double click on the Main class diagram.