This section explains how to compile OpenMOLE from its sources and how to modify the sources. The source code repository can be found here
OpenMOLE's source code is versioned under git
. You can get the sources as follows:
git clone email@example.com:openmole/openmole.git
The current development versions stands in the master branch.
In order to compile OpenMOLE, you should have SBT
and a JDK of version 7 or greater (we strongly recommend the use of the OpenJDK as its corresponding Runtime Environment embeds all the tools required by OpenMOLE). Here are the steps to compile OpenMOLE from a fresh clone:
optionally: sbt clean
You can now find the application in bin/openmole/target/assemble/.
To compile offline (plain / train...) you should use:
set offline in Global := true
when in the sbt shell, or start sbt with the -offline
The OpenMOLE development team generally uses the community version of IntelliJ
Once deployed you should install the SBT and Scala plugins. You can then create an IntelliJ project containing the
OpenMOLE's folder hierarchy by clicking on the "Import Project" button in IntelliJ. Browse to the folder
and click import.
Create a standalone archive
You can create a standalone archive of your fresh OpenMOLE build and ship it around by using the task openmole:tar
You will find the resulting archive in bin/openmole/target/openmole.tar.gz