New issue 17 by roland.huss: OSGified json-simple.jar
http://code.google.com/p/json-simple/issues/detail?id=17
In order to play nicely in an OSGi environment, some simple entries in the
MANIFEST.MF must be
provided. I attachted a patch against build.xml (1.1) which use the bnd
tool to generate that
manifest (you need to download bnd.jar from
http://www.aqute.biz/Code/Download and put it into
a new "tools/" directory).
Alternatively, the generated MANIFEST.MF could be checked in and used
directly with the jar target
(which I would recommend to its simplicity). I added an example to this
ticket.
It would be nice, if in some coming version the OSGi Headers would be
present so that this fine
library could be used as an OSGi Bundle as well.
thx ...
...roland.
Attachments:
json-simple.patch 1.7 KB
MANIFEST.MF 470 bytes
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
Comment #1 on issue 17 by fangyidong: OSGified json-simple.jar
http://code.google.com/p/json-simple/issues/detail?id=17
Thank you Roland.
I also need this feature. It can also be achieved by simply adding five
lines to the Ant build file as shown in attached patch.
Attached patch.
Attachments:
json.simple-osgi.patch 621 bytes
I guess I should have tested my patch first... Here is one that works.
Attachments:
json.simple-osgi.patch 734 bytes
Thanks a lot.
Hi,
I reported your issue on my github JSON-SIMPLE tree[1] to keep track of
your request.
Hi,
I added your suggested fix[1] in my github tree[2].
Thanks
Bye
Piero
[1]https://github.com/ottuzzi/JSON-SIMPLE/commit/dd1008f
[2]https://github.com/ottuzzi/JSON-SIMPLE
Hello,
We would like to use json-simple in our project, but are unable to unless
an OSGi bundle is available. Applying Roland's Manifest worked, but is not
quite satisfactory.
Looking into 1.1-bundle
(http://code.google.com/p/json-simple/downloads/detail?name=json-simple-1.1-bundle.jar),
it seems that the OSGi bundle headers are still not present in the
Manifest. I was also unable to find a bundle version on the Sonatype
repository that appears to host GoogleCode project jars.
Any help is appreciated. Thank you,
Dave Hughes
Comment #8 on issue 17 by nossli...@gmail.com: OSGified json-simple.jar
http://code.google.com/p/json-simple/issues/detail?id=17
I have committed several changes on the "mavenization" branch, and am
awaiting a code review from Yidong before merging with trunk.
These changes include kgilmer's patch to build.xml, as well as the move to
a maven conventional directory structure with the addition of a pom for
building with maven.
If all goes well, I hope to see json-simple v1.1.1 released ASAP.
Comment #9 on issue 17 by nossli...@gmail.com: OSGified json-simple.jar
http://code.google.com/p/json-simple/issues/detail?id=17
(No comment was entered for this change.)
Re-opened while waiting.
Hi All,
I assume you all agree to publish your work under "Apache 2.0" license
while attaching patch here or submitting codes in SVN (committers). If not,
please leave me a note here before March 1st, 2012.
Thanks,
Yidong
For my contribution, the Apache License is the perfect choice.
Thank you Roland!
Comment #14 on issue 17 by fangyid...@gmail.com: OSGified json-simple.jar
http://code.google.com/p/json-simple/issues/detail?id=17
(No comment was entered for this change.)
Thank you for releasing 1.1.1!
Could you please upload it on Maven central repository?
http://repo1.maven.org/maven2/com/googlecode/json-simple/json-simple/
Thanks,
Muga Nishizawa
Yes I am working on it.
Yidong, could you please provide an update on the status of making 1.1.1
available through the Central Repo?
Thank you,
Dave
Dave, I submitted it to https://oss.sonatype.org/index.html quite a long
time ago, but didn't see any effect. I will try it again.
Uploaded again. Waiting for Sonatype to sync it to maven central repository.
https://oss.sonatype.org/content/repositories/central_bundles-595/com/googlecode/json-simple/
Done.