beders / Resty

Tiny REST client for Java and JSON.
http://beders.github.com/Resty
Apache License 2.0
272 stars 66 forks source link

consider adding OSGi metadata #18

Open davefogel opened 11 years ago

davefogel commented 11 years ago

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

beders commented 11 years ago

thanks, will add it