Unknown macro: {style}


Unknown macro: { margin}
Unknown macro: {div}
Kaa releases
Unknown macro: {div}

Page tree
Skip to end of metadata
Go to start of metadata

This page describes how to build the Kaa server using its source code.

Before building the Kaa server from source, ensure that Oracle JDK 7 and Apache Maven are installed on your machine.

Building Kaa with default Java endpoint SDK

To build the Kaa server with the default Java endpoint SDK, proceed as follows:

  1. Clone or download the sources from GitHub.
  2. Execute the following command to build all the server and java client components into either Debian or RPM packages.


    The Debian build will work correctly on both Linux and Windows operation systems, while an RPM build will work only on Linux operated machines with the RPM tool installed.

    mvn -DBUILD_NUMBER=1 -DGIT_COMMIT=2 -P jenkins,compile-gwt,build-sandbox clean install verify
    mvn -DBUILD_NUMBER=1 -DGIT_COMMIT=2 -P jenkins,compile-gwt,build-sandbox,build-rpm clean install verify


    For the mvn command, the build number and git commit variables are set to emulate jenkins build variables that are substituted automatically on the build machine.
    Compiling the GWT profile is critical to getting the Admin UI working, but can be skipped during regular builds.
    The build-sandbox profile is necessary to trigger a sandbox build, which may be quite resource/time consuming.

Building Kaa with two SDKs: C++ endpoint SDK and default Java endpoint SDK

To build C++ endpoint SDK libraries, ensure all the necessary C++ components are installed as described in the Development environment setup.

After the required components are installed, you can build the C++ endpoint SDK and all server components by executing the following command.

mvn -DBUILD_NUMBER=1 -DGIT_COMMIT=2 -P jenkins,compile-client-cpp,compile-gwt,build-sandbox,build-rpm clean install

Running Kaa

To start all the Kaa components, execute the following script.

for x in `cd /etc/init.d ; ls kaa-*` ; do sudo service $x start ; done

A similar script, as shown in the following example, can be used to restart or stop all the components.

for x in `cd /etc/init.d ; ls kaa-*` ; do sudo service $x restart ; done
for x in `cd /etc/init.d ; ls kaa-*` ; do sudo service $x stop ; done

Further reading

Use the following guides and references to make the most of Kaa.

GuideWhat it is for
Installation guideUse this guide to configure Kaa after the installation or to set up a Kaa cluster. This guide also provides instructions on how to install Kaa by downloading an installation package.
Design referenceUse this reference to learn about features and capabilities of Kaa.
Programming guideUse this guide to create your own Kaa applications.

Copyright © 2014-2015, CyberVision, Inc.

  • No labels