I’m new to java nad openHAB. I would like to setup development enironment using eclipse preferably on linux (can be on windows).
I followed the instructions from here:
I fail in the step ‘Modifying and Debugging Add-ons’. I cannot import the addon project to eclipse workspace. The import dialog simply says there is no project to import. I use the root path - ‘(…)\openhab\git\openhab-addons\bundles\org.openhab.binding.linuxinput’.
Could anyone explain, what I need to do in order to modify an addon, build it, run and debug it?
I started playing with 2.5.x and another addon which does not have the problem with com.kenai.jffi - tplinksmarthome.
I can import the project not as a Maven. It builds, runs and I can debug it. However, the problem is that it does not run my local version of the plugin.
How can I add the local jar file as a dependency and debug it?