Run the transformation
We can now run the ruleset using a sample model:
- Click Run > Run Configurations...
- Select MDWorkbench in the left hand list of launch configuration types, and press New.
- Type com.sodius.mdw.samples.tutorial in the Project field.
- Click Rule in the Main element section.
- Type tutorial.uml2relational.UML2Relational.main in the Main element field.
- Select an input UML model:
- Click on the source parameter (first line of the Parameters section) to display the model selection dialog.
- Click Recent model.
- Select UML 2.1\XMI - product21.xmi in the Recent model tree.

- Click OK.
- Select an output Relational model:
- Click on the target parameter (second line of the Parameters section) to display the model selection dialog.
- Click New model.
- Select Relational\XMI 2.1 in the Model writer tree.

- Click Browse Workspace...
- Select a file com.sodius.mdw.samples.tutorial\models\result.xmi and Click OK.
Click Run. The launch configuration should look like this:

MDWorkbench evaluates the ruleset using the specified models and prints messages in the Console view:
[progress] Evaluation of UML2Relational.main
[progress] Reading XMI - C:\MDWorkbench\workspace\com.sodius.mdw.samples.tutorial\models\product21.xmi
[progress] Writing XMI 2.1 - C:\MDWorkbench\workspace\com.sodius.mdw.samples.tutorial\models\result.xmi
[progress] Done.

Creating a launch configuration