Hey developer community,
I’m feeling a bit lost with maven/bnd on eclipse/bndtools. The tutorial on https://bndtools.org/tutorial.html is unfortunately outdated.
I like to archive the following:
- Having openhab-core in my eclipse workspace, as well as a maven/bnd project: Works
- Start a bndrun file (for example the demo one), and add my maven/bnd project bundle or any other eclipse workspace maven/bnd project bundles to it: No idea
I know how to handle this with Gradle and eclipse/buildship, but in that case the bndrun file is generated. So how do I go forward with an existing bndrun file?
What I have done so far in eclipse
- Right click on my maven/bnd project and add the bnd nature (in this case for demo purposes the astro binding)
- Modify the demo bndrun file:
-runrequires: \ ... bnd.identity;id='org.openhab.binding.astro',\ ... -runbundles: \ ... org.openhab.binding.astro;version='[2.5.0,2.5.1)',\ ...
Resolving the bndrun file fails with
org.hamcrest not available. But I have probably not done it in the correct eclipse/bndtools way I guess.