Skip to content

sjsf/smarthome

 
 

Repository files navigation

Eclipse SmartHome Build Instructions

Thanks for your interest in the Eclipse SmartHome project!

Building and running the project is fairly easy if you follow the steps detailed below.

Please note that Eclipse SmartHome is not a product itself, but a framework to build solutions on top. This means that what you build is primarily an artifact repository of OSGi bundles that can be used within smart home products. Besides this repository, a tool called "Designer" is available. The Designer can be used for editing configuration files with full IDE support.

1. Prerequisites

The build infrastructure is based on Maven in order to make it as easy as possible to get up to speed. If you know Maven already then there won't be any surprises for you. If you have not worked with Maven yet, just follow the instructions and everything will miraculously work ;-)

What you need before you start:

Make sure that the "mvn" command is available on your path

2. Checkout

Checkout the source code from GitHub, e.g. by running

git clone https://github.com/eclipse/smarthome.git

3. Building with Maven

To build Eclipse SmartHome from the sources, Maven takes care of everything:

  • set MAVEN_OPTS to "-Xms512m -Xmx1024m"
  • change into the smarthome directory ("cd smarthome“)
  • run "mvn clean install" to compile and package all sources

If there are tests that are failing occasionally on your local build, run mvn -DskipTests=true clean install instead to skip them.

The p2 repository that contains all bundles as a build result will be available in the folder products/org.eclipse.smarthome.repo/target.

How to contribute

If you want to become a contributor to the project, please read about contributing and check our guidelines first. If you can't wait to get your hands dirty have a look at the open issues where we need your help or one of the open bugs.

About

Eclipse SmartHome project

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 88.7%
  • Groovy 4.3%
  • JavaScript 3.7%
  • HTML 1.5%
  • Xtend 1.0%
  • CSS 0.7%
  • Other 0.1%