Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Eclipse SmartHome » Use org.openhab.persistence.mapdb binding in eclipse smart home.(how to use org.openhab.persistence.mapdb)
Use org.openhab.persistence.mapdb binding in eclipse smart home. [message #1770355] Thu, 10 August 2017 10:14 Go to next message
AMAR PULLI is currently offline AMAR PULLIFriend
Messages: 7
Registered: February 2017
Junior Member
Hello,

I am trying to install org.openhab.persistence.mapdb on eclipse smart home.
I have done testing in openhab-2.0 , it's working fine.
The same thing I could have to using in eclipse smart home.
But here it doesn't work for me.
Installation Steps:
1. clone the org.openhab.persistence.mapdb repo from openhab1-addons.
https://github.com/openhab/openhab1-addons/tree/master/bundles/persistence.
2. Then I did the building jar file in Eclipse IDE.
3. Drop the jar file into deploy folder in my smarthome repo.
4. start the smart home runtime. It will show below issues.
see log file:

9 | Installed | 80 | 1.11.0.201708091946 | openHAB MapDB Persistence Bundle.
karaf@root()> start 9
Error executing command: Error executing command on bundles:
Error starting bundle 9: Unable to resolve org.openhab.persistence.mapdb [9](R 9.0): missing requirement [org.openhab.persistence.mapdb [9](R 9.0)] osgi.wiring.package; (osgi.wiring.package=org.apache.commons.io) Unresolved requirements: [[org.openhab.persistence.mapdb [9](R 9.0)] osgi.wiring.package; (osgi.wiring.package=org.apache.commons.io)]
karaf@root()> bundle:dia 9
Command not found: bundle:dia
karaf@root()> bundle:diag 9
openHAB MapDB Persistence Bundle (9)
------------------------------------
Status: Installed
Unsatisfied Requirements:
[org.openhab.persistence.mapdb [9](R 9.0)] osgi.wiring.package; (osgi.wiring.package=org.openhab.core.library.items)
[org.openhab.persistence.mapdb [9](R 9.0)] osgi.wiring.package; (osgi.wiring.package=org.openhab.core.library.types)
[org.openhab.persistence.mapdb [9](R 9.0)] osgi.wiring.package; (osgi.wiring.package=org.openhab.core.persistence)
[org.openhab.persistence.mapdb [9](R 9.0)] osgi.wiring.package; (osgi.wiring.package=org.openhab.core.types)
[org.openhab.persistence.mapdb [9](R 9.0)] osgi.wiring.bundle; (osgi.wiring.bundle=org.openhab.core.compat1x)

How to I could resolve these issues.

Thanks and Regards,
Amar.
Re: Use org.openhab.persistence.mapdb binding in eclipse smart home. [message #1770421 is a reply to message #1770355] Fri, 11 August 2017 07:10 Go to previous message
Kai Kreuzer is currently offline Kai KreuzerFriend
Messages: 673
Registered: December 2011
Senior Member
Hi Amar,

sorry, this simply does not work. openHAB1 addons are NOT compatible with ESH.
There currently is no persistence service implementation available for ESH at all :-(
The only one is in https://github.com/eclipse/smarthome/pull/2081, but this PR so far never made it into the repo.

Regards,
Kai
Previous Topic:Build fails on Win10/x64 with Maven 3.50
Next Topic:How to add things dynamically in the binding
Goto Forum:
  


Current Time: Thu Apr 25 00:53:17 GMT 2024

Powered by FUDForum. Page generated in 0.03205 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top