Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSGi-Bundle #18

Open
GoogleCodeExporter opened this issue Nov 7, 2015 · 2 comments
Open

OSGi-Bundle #18

GoogleCodeExporter opened this issue Nov 7, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

Please Provide a OSGi-Bundle for JSSC and corresponding platform & architecture 
dependent native framgments.

I would propose the bundle name: org.scream3r.jssc
Maybe the packages should be updated also, its uncommon to use a package name 
of one word. Normally the namespace can be mapped to the project homepage eg. 
"org.apache.tomcat"





Original issue reported on code.google.com by chriss....@gmail.com on 29 Oct 2012 at 10:05

@GoogleCodeExporter
Copy link
Author

Our Project makes use of Jssc 2.6.0, but as the jar is not enriched with OSGi 
bundne manifest data, then we are currently repackaging it ourselves. 
Also maven repository support would be sweet. 

Original comment by tazzz...@gmail.com on 30 Oct 2013 at 10:45

@GoogleCodeExporter
Copy link
Author

Just wanted to drop a comment here and say that the jSSC project would actually 
be perfect for an OSGi bundle. OSGi provides an option in the manifest to load 
native code resources that are packed inside the jar, and can specify which 
ones are loaded based on OS and processor architecture, using the 
"Bundle-NativeCode" parameter in Manifest.

It basically does the whole static block of the SerialNativeInterface.java 
file, in a filespace managed by OSGi, so that that entire code section can be 
reduced to a single line: System.loadLibrary("jSSC-$(version)_$(architecture)");

Original comment by wbar8...@gmail.com on 18 Nov 2014 at 5:07

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant