RE: Problem:Restlet 2.0M4 JSON extensions under OSGi

2009-08-14 Thread Robin Hayman
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

RE: Problem:Restlet 2.0M4 JSON extensions under OSGi

2009-08-14 Thread Robin Hayman
Sorry. This is my problem. I have muddled org.json.jar from org.json which has no OSGi import/export with org.json.jar from restlet which does. -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2383633

Re: Patch for MetadataService to support XSL files with the more common extension .xsl

2009-08-14 Thread Bruno Harbulot
Hi Fabian, The procedure to contribute to Restlet is described here: http://www.restlet.org/community/contribute In short, for a patch to be included, you would have to sign the JCA and get in touch with Jerome or Thierry. Best wishes, Bruno. Fabian Mandelbaum wrote: Hello, I've asked

Re: Patch for MetadataService to support XSL files with the more common extension .xsl

2009-08-14 Thread Fabian Mandelbaum
Hello Bruno, Thanks for pointing my lazy ... to the right resource answering my question. I'll study this and contact Jerome or Thierry afterwards. On Fri, Aug 14, 2009 at 11:49 AM, Bruno Harbulotbruno.harbu...@manchester.ac.uk wrote: Hi Fabian, The procedure to contribute to Restlet is

RE: Problem:Restlet 2.0M4 JSON extensions under OSGi

2009-08-14 Thread Robin Hayman
My last post was wrong. I had confused the manifest of org.json.jar org.reslet.json.jar. Using KF, I did not manage to load a folder, getting NPEs. Perhaps by not knowing how to do it. KF framework seemed to accept the URL and then NPE. I note that OSGi simply says: A bundle is a JAR file