MahmutKarali / json-simple

Automatically exported from code.google.com/p/json-simple
Apache License 2.0
0 stars 0 forks source link

OSGified json-simple.jar #17

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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.

Original issue reported on code.google.com by roland.h...@gmail.com on 14 Feb 2010 at 10:48

Attachments:

GoogleCodeExporter commented 8 years ago
Thank you Roland.

Original comment by fangyid...@gmail.com on 22 Feb 2010 at 1:35

GoogleCodeExporter commented 8 years ago
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.

Original comment by kgil...@gmail.com on 6 Oct 2010 at 3:05

Attachments:

GoogleCodeExporter commented 8 years ago
I guess I should have tested my patch first...  Here is one that works.

Original comment by kgil...@gmail.com on 6 Oct 2010 at 3:09

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks a lot.

Original comment by fangyid...@gmail.com on 6 Oct 2010 at 3:16

GoogleCodeExporter commented 8 years ago
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

Original comment by ottu...@gmail.com on 24 Aug 2011 at 1:59

GoogleCodeExporter commented 8 years ago
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

Original comment by ottu...@gmail.com on 25 Aug 2011 at 3:46

GoogleCodeExporter commented 8 years ago
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-bund
le.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

Original comment by nossli...@gmail.com on 10 Jan 2012 at 7:15

GoogleCodeExporter commented 8 years ago
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.

Original comment by nossli...@gmail.com on 13 Jan 2012 at 7:47

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Re-opened while waiting.

Original comment by nossli...@gmail.com on 17 Jan 2012 at 8:31

GoogleCodeExporter commented 8 years ago
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

Original comment by fangyid...@gmail.com on 27 Jan 2012 at 4:27

GoogleCodeExporter commented 8 years ago
For my contribution,  the Apache License is the perfect choice.

Original comment by roland.h...@gmail.com on 27 Jan 2012 at 6:28

GoogleCodeExporter commented 8 years ago
Thank you Roland!

Original comment by fangyid...@gmail.com on 6 Feb 2012 at 1:52

GoogleCodeExporter commented 8 years ago

Original comment by fangyid...@gmail.com on 6 Feb 2012 at 1:52

GoogleCodeExporter commented 8 years ago
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

Original comment by muga.nis...@gmail.com on 21 Feb 2012 at 8:16

GoogleCodeExporter commented 8 years ago
Yes I am working on it.

Original comment by fangyid...@gmail.com on 21 Feb 2012 at 9:30

GoogleCodeExporter commented 8 years ago
Yidong, could you please provide an update on the status of making 1.1.1 
available through the Central Repo?

Thank you,
Dave

Original comment by nossli...@gmail.com on 12 Mar 2012 at 7:19

GoogleCodeExporter commented 8 years ago
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.

Original comment by fangyid...@gmail.com on 20 Mar 2012 at 5:24

GoogleCodeExporter commented 8 years ago
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/

Original comment by fangyid...@gmail.com on 20 Mar 2012 at 8:32

GoogleCodeExporter commented 8 years ago
Done.

Original comment by fangyid...@gmail.com on 22 Mar 2012 at 1:20