Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] JAXB with Java 11 in OSGi

Hi Raymond,

As a late follow-up, great news is that recent developments in Eclipse and Tycho made the consumption of Maven artifacts possible via the target platform.

See https://xn--lubisoft-0za.gmbh/en/articles/using-maven-artifacts-in-pde-rcp-and-tycho-builds/ or https://www.vogella.com/tutorials/EclipseJarToPlugin/article.html for how-to-guides.

Best regards, Lars

On Fri, Jul 31, 2020 at 4:34 PM Raymond Auge <raymond.auge@xxxxxxxxxxx> wrote:


On Fri., Jul. 31, 2020, 5:56 a.m. Lars Vogel, <lars.vogel@xxxxxxxxxxx> wrote:
Hi Raymond,

Thanks for the info.

How should I consume aries-jax-rs-whiteboard in my RCP application? Is
there an p2 update site available?

Sigh... No, there is no p2 repo 😔

It's sad that RCP (I'm guessing maven+Tycho) aps need to consume from p2 only. Makes the whole ecosystem an island. It's a shame, but I digress.

- Ray


Best regards, Lars

On Tue, Jul 28, 2020 at 3:46 PM Raymond Auge <raymond.auge@xxxxxxxxxxx> wrote:
>
> Aries JAX-RS whiteboard [1] has jaxb working on all java versions.
>
> [1] https://github.com/apache/aries-jax-rs-whiteboard
>
> On Tue., Jul. 28, 2020, 9:07 a.m. Neil Bartlett, <njbartlett@xxxxxxxxx> wrote:
>>
>> Hi Lars,
>>
>> Dmytro is correct, the jaxb-api and javax.activation bundles are required to provide the JAXB API on Java 11. You will also need an implementation of the API... the org.eclipse.persistence.core and org.eclipse.persistence.moxy bundles from EclipseLink provide this.
>>
>> I have had JAXB working with RCP for some time on J11 but unfortunately cannot share the code because it is commercial.
>>
>> Neil
>>
>> On Tue, 28 Jul 2020 at 14:03, Dmytro Pishchukhin <dmytro.pishchukhin@xxxxxxxxx> wrote:
>>>
>>> Hi Lars,
>>>
>>> Try to use 2 bundles to resolve JAXB packages:
>>> - jaxb-api (javax.xml.bind:jaxb-api:2.3.1)
>>> - javax.activation (com.sun.activation:javax.activation:1.2.0)
>>>
>>> On Tue, Jul 28, 2020 at 1:56 PM Lars Vogel <lars.vogel@xxxxxxxxxxx> wrote:
>>>>
>>>> Friends of OSGi,
>>>>
>>>> Is anyone aware of an example / description of how to use JAXB with
>>>> Java 11 in OSGI (Eclipse RCP)? If yes, please share it with me.
>>>>
>>>> The examples I found for Java 11 are not inside OSGi and fail for me.
>>>>
>>>> Best regards, Lars
>>>>
>>>>
>>>>
>>>> --
>>>> Eclipse Platform project co-lead
>>>> CEO vogella GmbH
>>>>
>>>> Haindaalwisch 17a, 22395 Hamburg
>>>> Amtsgericht Hamburg: HRB 127058
>>>> Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
>>>> USt-IdNr.: DE284122352
>>>> Fax (040) 5247 6322, Email: lars.vogel@xxxxxxxxxxx, Web: http://www.vogella.com
>>>> _______________________________________________
>>>> equinox-dev mailing list
>>>> equinox-dev@xxxxxxxxxxx
>>>> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/equinox-dev
>>>
>>>
>>>
>>> --
>>> Best regards,
>>> Dmytro Pishchukhin
>>> _______________________________________________
>>> equinox-dev mailing list
>>> equinox-dev@xxxxxxxxxxx
>>> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/equinox-dev
>>
>> _______________________________________________
>> equinox-dev mailing list
>> equinox-dev@xxxxxxxxxxx
>> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/equinox-dev
>
> _______________________________________________
> equinox-dev mailing list
> equinox-dev@xxxxxxxxxxx
> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/equinox-dev



--
Eclipse Platform project co-lead
CEO vogella GmbH

Haindaalwisch 17a, 22395 Hamburg
Amtsgericht Hamburg: HRB 127058
Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
USt-IdNr.: DE284122352
Fax (040) 5247 6322, Email: lars.vogel@xxxxxxxxxxx, Web: http://www.vogella.com
_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/equinox-dev
_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/equinox-dev


--
Eclipse Platform project co-lead
CEO vogella GmbH

Haindaalwisch 17a, 22395 Hamburg
Amtsgericht Hamburg: HRB 127058
Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
USt-IdNr.: DE284122352
Fax (040) 5247 6322, Email: lars.vogel@xxxxxxxxxxx, Web: http://www.vogella.com

Back to the top