Refreshing an imported type library

About this task

When the TypeLibrary Importer imports a type library, it creates a clone of it in the current IBM® Rational® Rhapsody® project. There is no connection between this clone and the original type library. The imported library does not reflect any changes made to the original type library, which must be reimported if the Rational Rhapsody model is to be kept current when the type library is updated.

To refresh a previously imported type library:

Procedure

  1. Select Tools > Type Library Importer.
  2. In the Open window, select the previously imported type library and click Open .
    Rational Rhapsody detects that the library exists in the model.
  3. Select one of the following options:
    • Import As to import the library with a different name.
      Rational Rhapsody imports the type library, resulting in two packages:
      • The out-of-date type library is contained in the package with the existing name (for example, ATLLib).
      • The updated type library is contained in the package with the new name (for example, TakeTwo).
    • Overwrite to overwrite the existing library.
      In this case, Rational Rhapsody automatically creates a backup of the existing library for you. The result is again two packages, but this time:
      • The out-of-date type library is contained in the package named <library>_bkupn, where n is a number beginning with 1.
      • The updated type library is contained in the package with the existing name (for example, ATLLib).

Feedback