So I did the following (for a new pc) :
- Get the development-environment as explaind in the docs ( Eclipse -> Installer, …. )
- It’s getting the latest code ( openhab-distro & openhab2-addons)
- everything builds and runs
- Checkout in a separate (local)-branch
- Openhab-distro --> TAG 2.0.0 beta1
- Openhab2-addons --> TAG 2.0.0 beta1
- I had some build issue in Eclipse
- So I followed this tip: http://stackoverflow.com/questions/2030064/how-to-run-eclipse-in-clean-mode-and-what-happens-if-we-do-so
- “Edit the eclipse.ini file located in your Eclipse install directory and insert -clean as the first line.”
- And that helps
- But still when I run I get:
- An error has occurred. See the log file […snip…] \ws.metadata.plugins\org.eclipse.pde.core\openHAB_Runtime\1454664949409.log
- Contents below
- In Eclipse -> Run -> Run Configurations -> “Plug-ins” is see not the full list of available plugins ( so not the ESH-plugins )
- It seems that Eclipse is not playing nice with “openHAB_Runtime.launch”
A bit new to the whole eclipe env, osgi, etc. so any tips on how to have this working would be great?
Thanks in advance
!SESSION Fri Feb 05 10:35:49 CET 2016 ------------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2016-02-05 10:35:49.428
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:666)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
at org.eclipse.equinox.launcher.Main.main(Main.java:1488)