文档介绍:Rational Rose使用技巧
首席软件专家张恂
主要内容
Model workspace
团队开发
Web Publisher
REI
Model workspace
A saved Rational Rose model contains the diagrams, elements, and controlled units that make up plete model. A model workspace contains the actual state of open diagrams and controlled units for a specific saved model at a given point in time.
It is possible to have multiple workspaces corresponding to only one model.
团队开发
Controlled units (.cat),由版本控制软件管理,多人并行工作。
The model (.mdl file)
Logical packages and use-case packages (.cat file)
Component packages (.sub file)
Deployment diagram (.prc file)
Model properties (.prp file)
External files associated with model elements
单元写保护
If a write-protected controlled unit contains other controlled units, the write-protection is not extended to the contained controlled units.
virtual path map
Workspace
integration workspace
private workspace
策略一
一个控制单元一次只允许一个人访问。
每个人都在模型元素的主干上工作。
策略一
The following updates need to be made:
Joe needs to update
Jim needs to update
Jill needs to update
1. Each developer opens the model in their private workspaces. Because each developer has defined a virtual path for their private workspaces, the path to the referenced .cat files is resolved in the context of each developer‘s workspace. In Jill‘s case, Rational Rose looks for the .cat files in Y:\ordersystem\units because Jill mapped her ClearCase view to the "Y" drive.
2. Each developer checks out the package (controlled unit) that they need from their version control system. Because they are using a pliant version control system (properly set up to work with the Version Control add-in), they right-click on the package in the browser and click Check Out on the shortcut menu. They will have read-write access only to the package they check out.
策略一
3. Each developer makes the necessary changes to the package they have checked-out, without impacting other packages.
4. After t