Stand-alone Reo Applications

If you want to use Reo models in your non-Eclipse Java application, you have to make sure that the following libraries are in the classpath. They can be found in the plugins directory of an Eclipse installation, where ECT is installed.

  • Eclipse core runtime:
    • org.eclipse.core.expressions
    • org.eclipse.core.resources
    • org.eclipse.core.runtime
    • org.eclipse.equinox.common
  • EMF Ecore model:
    • org.eclipse.emf.ecore
    • org.eclipse.emf.ecore.xmi
    • org.eclipse.emf.common
  • GMF Notation model:
    • org.eclipse.gmf.runtime.emf.type.core
    • org.eclipse.gmf.runtime.notation
  • Reo model:
    • org.ect.reo

If you want generate connector animations you also need org.ect.reo.animation and org.ect.reo.ui. In case you need support for constraint automata you need org.ect.ea, org.ect.ea.extensions.* and maybe org.ect.codegen.reo2ea.*.

Before using the Reo or the extensible automata model in a non-Eclipse application you have to initialize them:

// Initialize the EMF registry for the Reo model.

// Equivalently for the EA model.