Jony
(Tom Bruce)
November 27, 2019, 2:26am
1
Platform information:
OS: MacOS 10.14
Java Runtime Environment: zulu8
openHAB version: snapshot
Issue of the topic: I follow the instruction here https://www.openhab.org/docs/developer/ide/eclipse.html to test an existing binding: org.openhab.binding.icloud. However I found that app.bndrun did not work.
At first, it can not find any bundles ( ANY! ) in Browse Repos and what I only added to the pom.xml is the following:
<dependency>
<groupId>org.openhab.addons.bundles</groupId>
<artifactId>org.openhab.binding.icloud</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
When I try to click Resolve buttons, it informs me that:
I can find this jar in the maven dependency, but it seems that it greys out. I guess this is the main reason but I don’t know how to solve it. Could anyone give me some hints?
glhopital
(Gaël L'hopital)
November 27, 2019, 8:47am
2
Close ans reopen app.bndrun, it should then work
Jony
(Tom Bruce)
November 28, 2019, 2:51am
3
Hi, I have tried closing the project and reopern it, but it doesn’t work. Actually after reopening, I can see many bundles in the repo, so the first problem has been figured out. However for the second, it still shows me that Capabilities could not be found!
hilbrand
(Hilbrand Bouwkamp)
November 28, 2019, 5:42am
4
Did it give the same error?
And if you run maven on your project does it finish successful?
Jony
(Tom Bruce)
November 28, 2019, 7:21am
5
That is right. It is the same error, which shows me resolution failed.
It seems all dependencies are still in grey. It is weird.
I also test it by using mvn install, and it shows me
Build Sucess .
hilbrand
(Hilbrand Bouwkamp)
November 28, 2019, 8:39am
6
I also see a error indicator on the demo app. Why is that? And did you include those other features project for a reason?
Jony
(Tom Bruce)
November 28, 2019, 10:49am
7
Please let me check the error, thanks! I used to think that demo would download dependencies online instead of local repos.