Publishing UML modeling items to the Rational Asset Manager repository

You can publish modeling items such as UML models, UML fragments, UML profiles, topologies, and their related artifacts to the Rational® Asset Manager repository. You can publish either the main item or the main item and its related items such as related models. By default, a new asset is created for each modeling item that you select to publish. The appropriate dependencies are also created between related items.

Before you begin

The Rational Asset Manager client must be installed in Eclipse.

About this task

To publish a UML item as an asset:

Procedure

  1. In the Project Explorer view, right-click a modeling item; then click Publish Asset.
  2. In the Publish Assets wizard, from the Repository list, select a repository. If an active repository connection does not exist, create one.
  3. Under Asset Properties, provide the required information for the asset, including its name, version number, and a short description.
  4. Optional: On the Description page, describe the asset in detail.
  5. Optional: On the Tags page, complete one of the following steps:
    • To specify an existing tag, select a tag from the list. If no tags had yet been defined, the list is empty.
    • To specify a new tag, enter the tag into the text area and press Enter.
  6. Optional: On the Categories page, select the categories.
  7. Optional: On the Attributes page, provide values for attributes.
  8. Optional: On the Relations page, review the items that are related to the main item and clear the check boxes for the items that you do not want to share as assets.
  9. Optional: On the UML Asset page, complete the following steps:
    • To include the HTML version of the UML model in the asset contents, in the Web publish folder field, specify the folder where you published the HTML version of the model.
      Note: The folder where the HTML is published must be in the same project as the item being published. To be able to select the folder, you must refresh the Project Explorer view to show the folder after you publish the item.
    • To be able to import a model asset into any project, select the Make references workspace independent check box.
      Note: This option is useful if the model references other model assets or if other models reference elements in this model. In this situation, this option enables you to import the assets into a different project and maintain the references. However, if you select this option, the publish operation modifies the model. The operation creates pathmaps to projects, instead of references, and the model becomes dependent on the Rational Asset Manager integration, which allows the pathmaps to resolve to the correct project location.

Results


Feedback