SpoonEMF2

Spoon EMF 2 is an evolution of SpoonEMF that is integrated with the Eclipse IDE compilation chain. SpoonEMF2 provides an EMF model of an Eclipse Java Project. SpoonEMF2's metamodel implements the metamodel of Spoon, making it fully compatible with it. This means that existing Spoon source code processors are able to run in SpoonEMF2.

For the moment SpoonEMF2 remains at a beta stage which means that no support is provided.

Features

  • Full Java 5 model, including annotations, generics, etc.
  • Parsing from Java code to SpoonEMF2's model files
  • Model to code transformation
  • Integration with Eclipse's compilation chain keeps the source code model updated
  • Extension points to access the SpoonEMF2's models from other plugins

People involved

System Requirements

You'll need the following installed on your computer:

More help on how to install Eclipse features from update sites can be found here.

Download

To download SpoonEMF2, download the following file, and unzip it in your Eclipse's plugin directory.

Creating SpoonEMF2 models

The SpoonEMF2 plugin, once activated for a Java project will leave an XMI file containing the source code model in the root of the project. The SpoonEMF2 plugin is activated by:

  • Select the Java project in the package view,
  • Right click, and select ” Configure Spoon”
  • Select “Enable Spoon”

The XMI file containing the project's model will be placed in the root of the project, and it will have the same name of the project e.g., for a project called Foo, a Foo.xmi file will be generated.

 
research/mdd/spoonemf2.txt · Last modified: 08.06.2009 14:38 (external edit)
 

© 2012 • Software Languages Lab • Submit comments and bugs to our Bugzilla or to the webmaster