Skip to main content
Jump to: navigation, search


Outdated page

This page contains obsolete information about the VPM based VIATRA2 and preserved for archive purposes only.
The currently maintained wiki is available at



See VIATRA2/Installation.

Native ASM Rules

See VIATRA2/HowTos/NativeASMRule.

Importing UML2 models

VIATRA2 supports model import for Eclipse UML2 models. This feature was developed and tested with using IBM Rational Software Architect 7.0, but (theoretically) it should also run for other UML tools providing UML2 export. Note: the UML2 importer is still in the development stage.

Now we provide a sample scenario how such UML2 models can be exported to VIATRA.

Exporting UML2 models from IBM Rational Software Architect 7.0

As the first step, your UML needs to be exported from IBM Rational Software Architect 7.0

  • Step 1: First, select the UML model in IBM RSA that you plan to export
    • Right-click on the selected project
    • Choose Export... from the pop-up menu
Fig. 1 Exporting models step 1
  • Step 2: Then select Other -> UML Model from the Export dialog
Fig. 2 Exporting models step 2
  • Step 3: Finally, choose the model you want to export and the destination directory.
    • Select Recreate IDs and deselect Export applied profiles (TODO: Check this)
Fig. 2 Exporting models step 3

Importing UML2 models to VIATRA2

  • Step 0: If you would like to import a UML2 model into an existing model space, then skip Step 1 below.
    • If your model space does not contain the UML2 metamodel (available at uml2.metamodel), then
      • Create a new model space as described below
      • Afterwards, merge the new model space with your existing one (TODO)
  • Step 1: Create a new model space (see above) but also select UML2.1 metamodel in the model space wizard
Fig. 2 Importing models step 1 (Creating model space)
  • Step 2: Right click on the designated model space (with the FW icon) in VIATRA2 Model spaces. Then select Native importers -> UML2 Importer (Rational Software Modeler 7.0)
Fig. 2 Importing models step 2 (Invoking the importer)
  • Step 3: Select the previously exported UML2 model, and click on Open

You should find your UML2 model below uml2.models in the tree view editor of the corresponding model space.

Back to the top