Hi, I had the problem that Eclipse marked any annotation as an error (seems to be an Eclipse bug). So I cleaned the openhab-master folder and want to re-install the environment. I tried it now several times, basic install goes through, but when Eclipse wants to exec the startup tasks the process aborts. I already tried to include more or less of the installation options with the same problem.
I did a fresh download, at least at the ubuntu installation, which does not ask for updating installer.
The Mac version asks for update and restarts installer after update.
The result is the same, not git projects
I did Mac with and w/o updating the installer and it worked. However, I have problems with a mvn build - same project, but now it can’t localte the javax.servlet package.
@lukics You seem to be at step 3 of the setup - you need to choose the underlying Eclipse IDE version, the Github projects will only be shown in step 4.
This is described in the eclipse smarthome ide docs.
You have to run clean projects, get rid of those errors.
And since this will important on several other places/development steps:
I would recommend you to open up the eclipse smarthome binding docs paralllel to the openhab binding docs.
Many content from eclipse smarthome is copied to the openhab docs, but from my experience it seems that smarthome docs are a bit more up to date or have some additional information compared to the openhab docs.
I am getting a better progress with reading through both doc sites.
This is my current experience as a binding development rookie.
I am already making notes, while working in my binding.
Maybe this would be an additional usecase for a dynamic docs build, like we already do for the binding docs.
@Kai
This is something we could maybe talk about @ smarthome day if there is some spare time.
I could say from personal experience that getring up to speed with OH development is not easy. The open sourxe code of many components is fine, but good tutorials and documentation could make a change.
I still have problems when trying to use the Eclipse environment (mvn builds are working). After a fresh install, clean and re-build I’m not able to debug the binding:
As a result I can’t access PaperUI at 127.0.0.1
Those plugins are all marked to load in the debug config openHAB_Runtime