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 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
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 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
For any issue, please contact stefano.tedeschi@unito.it