Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This guide helps developers make the construction of libraries and server/middleware

Prerequisites

OpenDevice requires Java 1.8. To check that you have the latest JDK, please run:

java -version

If you don’t have the JDK, you have to install it from Oracle’s JDK Site.

  • Maven 3 (Optional but recommended)

To check, please run:


mvn -version

If you don’t have, check the installation guides ( Ubuntu / Windows)



Get Sources

git clone https://github.com/OpenDevice/OpenDevice.git

Compile and install Libs

OpenDevice is a series of libraries available in Maven Repository, so you can use Maven to build the project.

Go to the source folder and run:

mvn install

This command may take a while the first time, it will download all dependencies of the maven/project

After finishing, the latest versions of libraries will be installed on the local maven repository and may be used by other projects

Build Middleware/Server

Optionally you can build the server / middleware, used to integrate between applications, devices and data analysis

Panel
borderColor#c2c2c2
bgColor#000000
borderStyledashed

asdasd

No Format
teste
  1. Go to the source folder (OpenDevice/opendevice-middleware) and run:

chmod +x server.sh

./server.sh compile