OAW Pitfalls

Aus SDQ-Wiki

This page contains descriptions of typical pitfalls with respect to the OAW templates in PCM.

EPackage Registration (FB, 5 Nov 2010)

If you introduce new model packages into the PCM, these have to be made known to OAW. Otherwise, when trying to simulate, you get exceptions like the following:

  • org.eclipse.emf.mwe.core.WorkflowInterruptedException: Couldn't resolve type for 'XXX'. Did you forget to configure the corresponding metamodel?

What you need to do is extending the PCM_EPACKAGES list in class de.uka.ipd.sdq.workflow.pcm.configurations.AbstractPCMWorkflowRunConfiguration with the new package.

Keywords: Error, OAW, Simulation, EMF, package, model extension, new type, PCM, meta-model