How to test custom binding [Solved]

Tags: #<Tag:0x00007fe7468eb360> #<Tag:0x00007fe7468eb298> #<Tag:0x00007fe7468eb180>

Probably stupid question, but how custom built binding can be tested?
I’m truing to play a little bit with existing onkyo binding, so what was done:

  1. Eclipse IDE (for Windows) was installed and I managed to build sources.

  2. Onkyo binding was exported to jar file with default settings.

  3. Jar file was copied to my debian box to /usr/share/openhab2/addons/ folder

  4. In Karaf console bundle:list commands says that

    openhab> bundle:list
    197 | Installed | 80 | | Onkyo Binding

If I try to start it, I get an error:

openhab> bundle:start 197
Error executing command: Error executing command on bundles:  
Error starting bundle197:  Could not resolve module: org.openhab.binding.onkyo [197] 
Unresolved requirement: Import-Package:

So I guess it is either wrong place to copy my binding to test or some settings are missing to export the jar file.

Does anyone have any idea, what I’m doing wrong and how missing dependence can be resolved?

Thank you!

Well, solution was quite simple - copy missing jar to the same folder with binding. In other words, file located here
\openhab2-master\ws.metadata.plugins\org.eclipse.pde.core.bundle_pool\plugins\ was copied to the /usr/share/openhab2/addons/
Everything works like a charm.