Skip to content

Building from Source

Carsten Stocklöw edited this page Apr 26, 2018 · 8 revisions
  1. Prerequisites:
  1. clone the universAAL platform repository:
git clone https://github.com/universAAL/platform
  1. initialise and update submodules:
cd platform
git submodule update --init
  1. go to uAAL.pom and install:
cd uAAL.pom
mvn install

if working offline (or if the previous command reports some artefact is missing), it may be required to build maven plugins before building everything else:

cd xtras/maven/plugins
mvn install
cd ../../../
cd uAAL.pom
mvn install -N
mvn install

Then repeat installation of uAAL.pom

Tips

If you wish to build a stable version, then do this after step 2:

git checkout <version>

If you wan to use the SSH access then do this instead of step 2:

git clone git@github.com:universAAL/platform.git
git merge remotes/origin/ssh_access

(if you also wish to build a stable version do the version checkout before the merging)

Getting source for Platform development

To get the latest source development for each repository, checkout master branch for each of the submodules:

git submodule foreach git checkout master

To update the latests changes for all your repositories, run a git pull for all of them, including the platform repository itself.

git submodule foreach git pull origin master
git pull origin master

a similar command can be issued to push all changes to the repositories at once.

Support:

Found a problem?
  • Report suggestions, missing, outdated or wrong documentation creating an Issue with "documentation" tag

Clone this wiki locally