I also had problems, the Eclipse IDE documentation needs to be updated again.
I am collaborating for a new Openwebnet binding that is not yet official.
I use Eclipse IDE with win10.
I used the following steps to install an Openwebnet binding with it still official with the dependency of a lib file:
- I cleaned up the old installations, under the
userdirectory I deleted the directors
.bnd-.eclipse-.karaf-.m2-.p2 - I started from a new Eclipse IDE
- Installed the
03-2019version - I selected
Java Developmentand alsoAddons - Wait for everything to be installed and compiled.
- I close all the
bindings, except Astro, including theentry(one gives me an error) via theClose Projectmenu - I close Esclipse IDE
- Downloaded from your Openwebnet git
- I copy the Openwebnet folder under
\git\openhab2-addons\bundles - Edit file
\bom\openhab-addons\pom.xmland I insert:
<dependency>
<groupId>org.openhab.addons.bundles</groupId>
<artifactId>org.openhab.binding.openwebnet</artifactId>
<version>${project.version}</version>
</dependency>
- Edit
bundles\pom.xmland insert
<module>org.openhab.binding.openwebnet</module>
- Edit
CODEOWNERSand insert
/bundles/org.openhab.binding.openwebnet/ @massi
- Open Eclipse IDE
- Import existing Maven project by selecting the Openwebnet directors
- Flag and choose
OH2 Add-ons

- This in the case of an addiction, otherwise skip the step
- Double click on
app.bndrun
** Note problems: **
In the window for dragging inRun Requirementsthe Openwebnet binding is not present, Astro yes.
I ran several tests to solve it but nothing … - Exit from Eclipse IDE
- From windows command prompt, by command
cdI move under theopenhab2-addonsfolder and compile it all with the commandmvn -DskipChecks -DskipTests clean install -U
- I open Eclipse
- Double click on
app.bndrun - I dragged the Openwebnet and Astro bindings to
Run Requirements
(the command from the prompt solved the problem, there will be another way to avoid waiting 40min ???)
- ** Never used the
Resolvebutton - I close and save
app.bndrun - I copy my
.items`` .thingsconfiguration files to Eclipse - Double click on
app.bndrun - I press button
Debug OSGiand wait for it to finish loading
Note:
The first time it doesn’t load Openwebnet but the second time it does. - From the Console I see a series of WARN and ERROR
- From browser
http: // localhost: 8080 / start / index, usually waiting for preparation of PaperUI
excuse the aesthetics of the message but from the iPhone it is difficult



