This is the code of the Eclipse plug-in project put together to use the following dbus-java and java-utils in the OSGi framework. Java source codes have not changed.
The reason for this integration is that if the bundle containing the JNI library for Unix Domain Socket and the bundle for reading the JNI library were separated, they could not be used on the OSGi framework. I tried to deal with this trouble using Require-Bundle
, but a cycle of dependencies occurred. So, for convenience, I put it together.
Each license files are located below.
- dbus-java license file -
dbus-java-with-java-utils-osgi/resources/dbus-java-3.0.2/COPYING
- java-utils license file -
dbus-java-with-java-utils-osgi/resources/java-utils-1.0.5/LICENSE
I think that this repository will not be necessary if jnr-unixsocket is used in place of the Unix Domain Socket JNI library planned for dbus-java in the future.
I use this with the following bundles.
The built bundle file is placed below. You need Java 8 or higher.
Finally, I would like to thank the authors of the very useful codes, and all the contributors.