Issue 17 in json-simple: OSGified json-simple.jar

6 views
Skip to first unread message

json-...@googlecode.com

unread,
Feb 14, 2010, 5:49:07 AM2/14/10
to json-...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

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

json-...@googlecode.com

unread,
Feb 21, 2010, 8:35:33 PM2/21/10
to json-...@googlegroups.com
Updates:
Status: Accepted
Labels: -Type-Defect Type-Enhancement

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.

json-...@googlecode.com

unread,
Oct 6, 2010, 11:05:24 AM10/6/10
to json-...@googlegroups.com

Comment #2 on issue 17 by kgilmer: OSGified json-simple.jar
http://code.google.com/p/json-simple/issues/detail?id=17

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

json-...@googlecode.com

unread,
Oct 6, 2010, 11:09:30 AM10/6/10
to json-...@googlegroups.com

Comment #3 on issue 17 by kgilmer: OSGified json-simple.jar
http://code.google.com/p/json-simple/issues/detail?id=17

I guess I should have tested my patch first... Here is one that works.

Attachments:
json.simple-osgi.patch 734 bytes

json-...@googlecode.com

unread,
Oct 6, 2010, 11:17:36 AM10/6/10
to json-...@googlegroups.com

Comment #4 on issue 17 by fangyidong: OSGified json-simple.jar
http://code.google.com/p/json-simple/issues/detail?id=17

Thanks a lot.

json-...@googlecode.com

unread,
Aug 24, 2011, 10:00:41 AM8/24/11
to json-...@googlegroups.com

Comment #5 on issue 17 by ottu...@gmail.com: OSGified json-simple.jar
http://code.google.com/p/json-simple/issues/detail?id=17

Hi,

I reported your issue on my github JSON-SIMPLE tree[1] to keep track of
your request.

Bye
Piero
[1]https://github.com/ottuzzi/JSON-SIMPLE/issues/3

json-...@googlecode.com

unread,
Aug 25, 2011, 11:49:01 AM8/25/11
to json-...@googlegroups.com

Comment #6 on issue 17 by ottu...@gmail.com: OSGified json-simple.jar
http://code.google.com/p/json-simple/issues/detail?id=17

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

json-...@googlecode.com

unread,
Jan 10, 2012, 2:16:38 PM1/10/12
to json-...@googlegroups.com

Comment #7 on issue 17 by noss...@gmail.com: OSGified json-simple.jar
http://code.google.com/p/json-simple/issues/detail?id=17

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

json-...@googlecode.com

unread,
Jan 13, 2012, 2:47:55 PM1/13/12
to json-...@googlegroups.com
Updates:
Status: Fixed
Owner: nossli...@gmail.com
Cc: fangyid...@gmail.com
Labels: -Priority-Medium Priority-High Usability

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.

json-...@googlecode.com

unread,
Jan 17, 2012, 3:30:56 AM1/17/12
to json-...@googlegroups.com
Updates:
Status: Started

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.)

json-...@googlecode.com

unread,
Jan 17, 2012, 3:34:58 AM1/17/12
to json-...@googlegroups.com

Comment #10 on issue 17 by nossli...@gmail.com: OSGified json-simple.jar
http://code.google.com/p/json-simple/issues/detail?id=17

Re-opened while waiting.

json-...@googlecode.com

unread,
Jan 26, 2012, 11:27:52 PM1/26/12
to json-...@googlegroups.com

Comment #11 on issue 17 by fangyid...@gmail.com: OSGified json-simple.jar
http://code.google.com/p/json-simple/issues/detail?id=17

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

json-...@googlecode.com

unread,
Jan 27, 2012, 1:29:37 AM1/27/12
to json-...@googlegroups.com

Comment #12 on issue 17 by roland.h...@gmail.com: OSGified json-simple.jar
http://code.google.com/p/json-simple/issues/detail?id=17

For my contribution, the Apache License is the perfect choice.

json-...@googlecode.com

unread,
Feb 5, 2012, 8:52:37 PM2/5/12
to json-...@googlegroups.com

Comment #13 on issue 17 by fangyid...@gmail.com: OSGified json-simple.jar
http://code.google.com/p/json-simple/issues/detail?id=17

Thank you Roland!

json-...@googlecode.com

unread,
Feb 5, 2012, 8:56:39 PM2/5/12
to json-...@googlegroups.com
Updates:
Status: Verified

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.)

json-...@googlecode.com

unread,
Feb 21, 2012, 3:17:03 AM2/21/12
to json-...@googlegroups.com

Comment #15 on issue 17 by muga.nis...@gmail.com: OSGified json-simple.jar
http://code.google.com/p/json-simple/issues/detail?id=17

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

json-...@googlecode.com

unread,
Feb 21, 2012, 4:31:43 AM2/21/12
to json-...@googlegroups.com

Comment #16 on issue 17 by fangyid...@gmail.com: OSGified json-simple.jar
http://code.google.com/p/json-simple/issues/detail?id=17

Yes I am working on it.

json-...@googlecode.com

unread,
Mar 12, 2012, 3:19:23 PM3/12/12
to json-...@googlegroups.com

Comment #17 on issue 17 by nossli...@gmail.com: OSGified json-simple.jar
http://code.google.com/p/json-simple/issues/detail?id=17

Yidong, could you please provide an update on the status of making 1.1.1
available through the Central Repo?

Thank you,
Dave

json-...@googlecode.com

unread,
Mar 20, 2012, 1:24:44 AM3/20/12
to json-...@googlegroups.com

Comment #18 on issue 17 by fangyid...@gmail.com: OSGified json-simple.jar
http://code.google.com/p/json-simple/issues/detail?id=17

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.

json-...@googlecode.com

unread,
Mar 20, 2012, 4:33:16 AM3/20/12
to json-...@googlegroups.com

Comment #19 on issue 17 by fangyid...@gmail.com: OSGified json-simple.jar
http://code.google.com/p/json-simple/issues/detail?id=17

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/


json-...@googlecode.com

unread,
Mar 21, 2012, 9:21:37 PM3/21/12
to json-...@googlegroups.com

Comment #20 on issue 17 by fangyid...@gmail.com: OSGified json-simple.jar
http://code.google.com/p/json-simple/issues/detail?id=17

Done.

Reply all
Reply to author
Forward
0 new messages