After you complete the development for a Rational Rose® RealTime controlled unit that has a corresponding shadow package in Rational® Software Architect
RealTime Edition,
you must migrate the controlled unit.
About this task
To avoid a duplicate shadow package and real package in a workspace,
you must migrate the shadow package. When you migrate a shadow package, all
references to the shadow package are replaced by references to the real migration
package and an element import in the original shadow package location will
point to the real migrated package.
To migrate a shadow package:
Procedure
- In Rational Software Architect
RealTime Edition,
import the model that owns the controlled unit.
- In the Rational Rose RealTime model
import wizard, on the Controlled Unit Conversion page, select Owned
Fragment for the controlled unit that has a shadow package.
- After the import process completes, see the Problems view. A warning message is displayed that states that the shadow package
for the element you imported should be migrated with references to the real
owned package.
- In the Problems view, right-click the warning description and click Go
To. The problematic shadow package appears selected
in the Project Explorer view.
- In the Project Explorer view, right-click
the shadow package; then click Migrate Shadow Package.
Results
All duplication is eliminated and references to the shadow package
are replaced with shortcuts to the owned fragment in the
Rational Software Architect
RealTime Edition model.