1openHAB Build instructions
4Thanks for your interest in the openHAB project!
6Building and running the project is fairly easy if you follow the steps
13The openHAB build infrastructure is based on Maven in order to make it
14as easy as possible to get up to speed. If you know Maven already then
15there won't be any surprises for you. If you have not worked with Maven
16yet, just follow the instructions and everything will miraculously work ;-)
18What you need before you start:
19- Maven3 from http://maven.apache.org/download.html
20- Mercurial from http://mercurial.selenic.com/
22Make sure that both "mvn" and "hq" commands are available on your path
28Check out the project sources from Google code:
30> hg clone https://openhab.googlecode.com/hg/ openhab
32You will now have all required sources in the openhab subdirectory.
353. BUILDING WITH MAVEN
38To build openHAB from the sources, Maven takes care of everything:
39- change into the openhab directory ("cd openhab")
40- run "mvn clean install" to compile and package all sources
42The build result will be available in the folder
43openhab/distribution/target. Both the runtime as well as
44the designer zips are placed in there.
474. STARTING THE RUNTIME
50- unzip the file distribution-<version>-runtime.zip to a local folder
51- launch the runtime with the "start.sh" (resp. "start.bat") script
52- check if everything has started correctly: http://localhost:8080/openhab.app?sitemap=demo
555. STARTING THE DESIGNER
58- unzip the file distribution-<version>-designer-<platform>.zip to a local folder
59- run the executable "openHAB-Designer.exe"