[ 
https://issues.apache.org/jira/browse/OLINGO-632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Akitoshi Yoshida updated OLINGO-632:
------------------------------------
    Attachment: 0001-OLINGO-632-make-Olingo-jars-to-OSGi-bundles.patch

Some info:

For simplicity, I downgraded to aalto-xml- 0.9.8. I don't know why 0.9.9 isn't 
an OSGi bundle. If you need 0.9.9, we can stay with 0.9.9 and install 0.9.9 
using the wrapped deployment, as it is done for antlr4-runtime-4.1 (see below 
in my sample how this is done). Olingo uses antlr4-runtime-4.1 but this is not 
an OSGi bundle. antlr4-runtime-4.5 is a bundle but this lib seems to require 
some changes to Olingo's current g4 grammar files. So to upgrade to 4.5, these 
files need to be updated. Until then, we can use 4.1.

I tested the attached patch with my copy of the Olingo's server sample which 
makes Olingo run with SwaggerSocket on Karaf. This sample is available at my 
github
https://github.com/elakito/swaggersocket-samples/tree/master/osgi_olingo_car_server

Thanks.

regards, aki
p.s. I can also make an OSGI version of the Olingo server demo without 
SwaggerSocket to be added in the Olingo's samples. Let me know.


> Make Olingo jars to OSGi bundles
> --------------------------------
>
>                 Key: OLINGO-632
>                 URL: https://issues.apache.org/jira/browse/OLINGO-632
>             Project: Olingo
>          Issue Type: Improvement
>          Components: odata4-client, odata4-commons, odata4-server
>    Affects Versions: V4 4.0.0-beta-01
>            Reporter: Akitoshi Yoshida
>         Attachments: 0001-OLINGO-632-make-Olingo-jars-to-OSGi-bundles.patch
>
>
> Making the Olingo jars to OSGi bundles.
> Discussed in:
> http://mail-archives.apache.org/mod_mbox/olingo-user/201504.mbox/%3cff176ec2ac5f8443b9260219629fd0da69aec...@dewdfemb13a.global.corp.sap%3e



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to