Hello,
I am new to the openhab project and after having looked into it for a few days I can say that I like it very much. I was about to develop something similar to cover my own home automation needs (and get rid of current numerous Linux bash scripts), but openhab seems to already deliver most of what I need so I will base my home automation project on openhab instead. So thank you for developing this framework!
However, I am having problems building the 1.0.0-SNAPSHOT. I have downloaded the code using "hg clone
https://code.google.com/p/openhab/". When I then try to run a "mvn clean install" from the openhab root I get the following error:
[ERROR] Failed to execute goal org.fornax.toolsupport:fornax-oaw-m2-plugin:3.3.0-SNAPSHOT:run-workflow (default) on project org.openhab.model.item: Workflow execution failed. -> [Help 1]
and above that the following stack trace
[INFO] Building openHAB Model Items 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ org.openhab.model.item ---
[INFO]
[INFO] --- tycho-packaging-plugin:0.15.0:build-qualifier (default-build-qualifier) @ org.openhab.model.item ---
[INFO]
[INFO] --- tycho-packaging-plugin:0.15.0:validate-id (default-validate-id) @ org.openhab.model.item ---
[INFO]
[INFO] --- tycho-packaging-plugin:0.15.0:validate-version (default-validate-version) @ org.openhab.model.item ---
[INFO]
[INFO] --- fornax-oaw-m2-plugin:3.3.0-SNAPSHOT:run-workflow (default) @ org.openhab.model.item ---
[INFO] Fornax Model Workflow Maven2 Plugin V3.3.0-SNAPSHOT
[INFO] java.lang.NoClassDefFoundError: org/eclipse/emf/mwe2/launch/runtime/Mwe2Launcher
[INFO] Caused by: java.lang.ClassNotFoundException: org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher
[INFO] at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
[INFO] at java.security.AccessController.doPrivileged(Native Method)
[INFO] at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
[INFO] [INFO] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
[INFO] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
[INFO] at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
[INFO] Could not find the main class: org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher. Program will exit.
org.eclipse.emf.mwe2.launch;resolution:=optional;x-installation:=greedy,
I did the same for the manifest files for org.openhab.model.persistence, org.openhab.model.rule, org.openhab.model.script, and org.openhab.model.sitemap.
But the problem still remains.
Any clues on what to do to run a successful 1.0.0-SNAPSHOT build?
I'm on WIndows 7, 64-bit, Oracle JDK 1.6.0_29
Thanks,
Henrik Sjöstrand