You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.
I'm trying to use pi4j-core 1.2.0-SNAPSHOT in an OSGi environment and it is not working. The Felix runtime complains that the packages imported by the bundle cannot be found. The problem is the ImportPackage declares that the bundle imports the same packages it exports. The fix is to simply remove the entire ImportPackage declaration.
The text was updated successfully, but these errors were encountered:
Its was trickier than just removing an declaration. I actually had to add an declaration that described the packages that I wanted to explicitly exclude.
So now we end up with just this in the declaration generated in the OSGI bundle manifest.
Import-Package: javax.net.ssl,sun.misc
I'll have a new 1.2-SNAPSHOT build with this change uploaded in about 15 minutes.
Please let me know if this works for you.
Thanks, Robert
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm trying to use pi4j-core 1.2.0-SNAPSHOT in an OSGi environment and it is not working. The Felix runtime complains that the packages imported by the bundle cannot be found. The problem is the ImportPackage declares that the bundle imports the same packages it exports. The fix is to simply remove the entire ImportPackage declaration.
The text was updated successfully, but these errors were encountered: