Menu

Home

Federico Capuzzimati Stefano Tedeschi

Welcome to the 2COMM Project Wiki!

Download and Installation

You can download the source in the Files tile or checkout the repository in the Code tile with SVN.

The repository follows the trunk/branches/tags convention.
The up to date code can be found in "trunk".

The project is divided into three main parts:

  • The 2COMM folder contains the source code of the 2COMM middleware; this is the core of the project
  • The 2COMM4JADEExamples folder contains some examples showing how to use 2COMM in the JADE platform (https://jade.tilab.com/)
  • The 2COMMJaCaMoExamples folder contains some examples showing how to use 2COMM in the JaCaMo framework (http://jacamo.sourceforge.net/)

Eclipse Import

The 2COMM and 2COMM4JADEExamples folders can be directly imported into Eclipse as Java projects.

Each example in the 2COMMJaCaMoExamples folder must be imported into Eclipse as a differentJaCaMo project (requires the JaCaMo Eclipse plugin).
More information on how to install the JaCaMo plugin for Eclipse can be found at http://jacamo.sourceforge.net/eclipseplugin/tutorial/

To setup the JaCaMo examples to be imported in Eclipse, the following gradle task can be run in the root folder of each example (where the build.gradle file is located):

gradle eclipse

Running the Examples

JADE

JADE examples can be run as plain Java applications.
2COMM is used in the examples as Java library.
Each example contains a sub-package named "agents" which contains the main class (Test*.java)

JaCaMo

JaCaMo examples can be run by executing the *.jcm files available in the root folder of each example.
The execution of the JaCaMo examples requires JaCaMo 0.8 (check https://sourceforge.net/projects/jacamo/files/version-0/)

Examples can be also run with the following gradle task (recommended):

gradle run

Another useful gradle task for cleaning up is:

gradle clean

Contacts

For any issue, please contact stefano.tedeschi@unito.it

Project Members:

MongoDB Logo MongoDB