ERE-ML Framework

This is a framework for model driven development of Multi-Agent Systems (MAS) in Emergency Response Environments (ERE). This framework includes:

  1. EMT (ERE-ML-Tool)
  2. Transformation codes
  3. JAMDER framework (an extension of JADE framework, includes MAS-ML and ERE-ML concepts)


For using the framework, follow these instructions:

A) Modeling

  1. download EMT plugin and extract it into the dropins folder of Eclipse and re-run the eclipse.exe.
  2. Create new general project (File > new project > general project), and choose a name for it (for example “ERE_diagrams”).
  3. Right click on ERE_diagrams project and select new > example > Ereml diagram. Choose a name for your diagram (for example “Victoria_bushfire”). So two new files with “.masml” and “.masml_diagram” extentions will be create.
  4. Open .masml_diagram file and draw a model for an ERE scenario by using MAS and ERE nodes and relationships.
  5. After modelling the ERE scenario, it should be validated. In order to do this, from Edit menu select Validate. (you can see probably errors of your model in “problems view” of eclipse). For correct code generation, these errors should be fixed.

B) Automatic Code Generation

  1. Import org.eclipse.acceleo.module.EREML project into the eclipse.
  2. Import ERE_diagrams project created in section “A”, into the same workspace.
  3. Run EREMLToJava.mtl file in org.eclipse.acceleo.module.EREML project as acceleo application. In “Run Configurations” window you should set Model, Target, and Runner:
    • Browse your model from ERE_diagrams by typing it’s name.masml
    • Select an empty java project as Target
    • Choose “Acceleo plug-in Application” as Runner
    • Click on the Run button to generate java files into the target folder.

C) Running Generated Codes

  1. Copy jamder folder from JAMDER.rar file in to the “src” folder of your target java project.
  2. Add JADE library in to your project. Follow these instructions:
    • Download jade.jar file.
    • Right click on your java project, and select properties.
    • In opened window, select “Java Build Path” from left hand side.
    • In “Libraries” tab, select “Add External JARs” and add jade.jar file in to the project.
  3. Run the project as java application.






2 thoughts on “ERE-ML Framework

  1. I followed the steps in the tutorial, but when I try to make an example, the following error appears:

    The selected wizard could not be started. Plug-in ERE-ML.editor was unable to load class EREML.presentation.EREMLModelWizard. EREML.presentation.EREMLModelWizard cannot be found by ERE-ML.editor_1.0.0.201703270959

Leave a Reply

Your email address will not be published. Required fields are marked *

SmileBig SmileGrinLaughFrownBig FrownCryNeutralWinkKissRazzChicCoolAngryReally AngryConfusedQuestionThinkingPainShockYesNoHeartRoseStarPresent