In this page you will find all the information about how to build OsMoSes.
Building OsMoSes consists on the following steps:
Being the objective of OsMoSes to provide an OSGi based mobility service for JADE, I bet you see this dependency coming. Of course, to build OsMoSes you will need to have JADE, so you can download it from its download page.
OsMoSes have been built and tested with JADE's versions:
OsMoSes uses Google Guava libraries for IO and Hashing. In fact, to take advantage of OSGi modularity, OsMoSes uses Guava OSGi project.
OsMoSes have been built and tested with Guava OSGi version:
OsMoSes uses Apache Felix as the embedded OSGi framework. Currently this is the only option because (as will be described next) it is dependent on Apache Felix Bundle Repository.
You can download it from its download page
OsMoSes have been built and tested with Apache Felix OSGi Framework versions:
OsMoSes uses Apache Felix Bundle Repository to handle bundle dependencies.
You can download it from the Apache Felix download page (Artifact Bundle Repository)
OsMoSes have been built and tested with Apache Felix Bundle Repository versions:
Apache Ant is only needed to build OsMoSes.
Ant is not needed for OsMoSes execution.
OsMoSes have been built using Ant version:
Download OsMoSes latest source from its repository.
Note: The names used in this section are the defaults ones, some of them can be changed by modifying the properties defined in the tools build.properties file. If you change those properties, keep that in mind when reading this documentation.
OsMoSes can be built by means of Ant tasks, in order to allow that, each component provides its own build.xml file defining the targets:
In addition, a "main" build.xml file can be found at the root of the project. It defines the targets:
In general you will only need to use the dist target in the "main" build.xml.
To use the Ant tasks as they are, you must create a directory under "tools" called "build_deps" whit the following content:
Any of these names can be changed but then the file build.properties must be edited accordingly
The resulting project directory tree should have the form (note that some information has been omitted for clarity):
Currently the only tools that can be built are the sources related to the metrics. Like the main components of OsMoSes, each of the metrics related components has its own build.xml file defining the already described targets.