Saturday, December 18, 2010

How to Solve MWE/Xpand Workflow Problems/Errors

What to Check :

1. Check your model file (.xmi). See: http://spring-java-ee.blogspot.com/2010/12/fixing-eclipse-mwe-error-workflow.html

2. Check your plugin.xml file, make sure it contains extension on org.eclipse.emf.ecore.generated_package . Sample:

   <extension point="org.eclipse.emf.ecore.generated_package">
      <package
            uri="http://www.bippo.co.id/shop/3.0/magentoconfig/1.0"
            class="id.co.bippo.magento.config.MagentoConfigPackage"/>
   </extension>

3. Check that you've (re-)generated your model classes. Open your .genmodel and regenerate the Model.

1 comment:

  1. and when you have such error:

    0 [main] DEBUG org.eclipse.xtext.mwe.Reader - Resource Pathes : [src/model]
    4 [main] INFO org.eclipse.xpand2.Generator - No meta models configured, using JavaBeans as default.
    117 [main] WARN org.eclipse.xtext.mwe.SlotEntry - Could not find any exported element of type 'ComponentType' -> Slot 'comp' is empty.
    181 [main] INFO .emf.mwe2.runtime.workflow.Workflow - Done.

    ReplyDelete