Installing the examples
To use the MDWorkbench samples:
- Install a sample.
- Run it.
- Inspect the evaluation output.
- Click Help > Welcome.
- Click Samples.
- Click one of the available MDWorkbench samples (e.g. Java Generation).
- In the sample wizard, type the name of a project where to install the sample in the Project name field.
- Select the metamodel to use in the Metamodel combo-box.
- Click Finish.
- Open the sample main ruleset (e.g. com.sodius.mdw.samples.java.JavaGeneration).
- Create a launch configuration for this ruleset.
- Fill-in the execution parameters of the main rule:
- Click the in model parameter.
- In the model selection dialog, select the XMI connector.
- Click Browse workspace...
- Select an XMI file in the folder models of the sample project (e.g. models\product13.xmi).
- Click OK.
- If the rule expects an out model, repeat these steps to select an output location.
- Click Run.

Creating a launch configuration