Dave, thanks for your help.
I can see that org.json.jar contains exploded classes, but you say...
"Notice that all these folders have META-INF folders in them, containing the
OSGi metadata."
I've listed the jar below. It seems there is no OSGi metadata. It is just an
exploded jar?
I expect to see:
Export-Package org.json
Or is my understanding wrong?
//==============================
[MANIFEST org.json.jar]
Manifest-Version 1.0
[IMPEXP]
[USES]
org.json
[USEDBY]
[LIST]
META-INF
MANIFEST.MF
org
org <no contents>
org/json
CDL.class
Cookie.class
CookieList.class
HTTP.class
HTTPTokener.class
JSONArray.class
JSONException.class
JSONML.class
JSONObject$Null.class
JSONObject.class
JSONString.class
JSONStringer.class
JSONTokener.class
JSONWriter.class
Test$1Obj.class
Test.class
XML.class
XMLTokener.class
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2383606