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

Already on GitHub? Sign in to your account

consider adding OSGi metadata #18

Open
davefogel opened this Issue Sep 25, 2012 · 1 comment

Comments

Projects
None yet
2 participants

Hi - Resty looks great. Please consider adding OSGi metadata to the Jar manifest so that Resty can be used in an OSGi environment without modification. The best way to add this would be as part of a build script or tool, which could guarantee that the metadata was kept up to date, but you can also just add it directly to a MANIFEST.MF file manually. An example would be to add these lines to your normal manifest:

Bundle-ManifestVersion: 2
Bundle-Name: Resty
Bundle-Description: A simple HTTP REST client for Java
Bundle-SymbolicName: us.monoid.resty
Bundle-Vendor: Robert Fischer
Bundle-Version: 0.3.1
Export-Package:
us.monoid.json,
us.monoid.util,
us.monoid.web,
us.monoid.web.auth,
us.monoid.web.mime

Owner

beders commented Jan 20, 2013

thanks, will add it

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