Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[epp-dev] Workaround JAXB installation problems

Hi folks,

I want to make you aware of something I am doing for 2020-12 M3. 

My unravelling of JAXB compatibility problems where I have been running into constantly new (to me) problems is coming close to completion. I think I have tracked down all simrel contributors and users of JAXB (according to all simrel's feature.xmls and MANIFEST.MFs).

However due to some p2 limitation where p2 can make installations that then don't work (see https://www.eclipse.org/lists/equinox-dev/msg09179.html - it has to do with "uses" directives) we end up with EPP packages that have OSGi wiring issues.

To workaround this limitation I have forced both versions to always be included in all EPP packages. I should be able to remove this if I can get all the old versions of JAXB out of simrel and update all the feature.xmls to stop requiring old versions of JAXB (see https://www.eclipse.org/lists/cross-project-issues-dev/msg18000.html)

I want to make you aware in case you notice that you have unexpected versions of JAXB bundles (com.sun.xml.bind, javax.xml.bind, jakarta.xml.bind) in your installation you will know why.

PS If anyone wants to sanity check me on this mess, please let me know. There is a lot of history in the bugs linked to the bug below, but some pointers may help the reader as some of my journey is exposed in these bug reports. Short summary is that the JAXB problems has meant some combinations of features cause java.lang.NoClassDefFoundError: javax/xml/bind/JAXBContext at runtime.

Thanks
Jonah

~~~
Jonah Graham
Kichwa Coders
www.kichwacoders.com


---------- Forwarded message ---------
From: <bugzilla-daemon@xxxxxxxxxxx>
Date: Mon, 23 Nov 2020 at 21:23
Subject: [Bug 569087] Workaround JAXB installation problems
To: <jonah@xxxxxxxxxxxxxxxx>


https://bugs.eclipse.org/bugs/show_bug.cgi?id=569087
Product/Component: EPP / Releng


Jonah Graham <jonah@xxxxxxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|epp.packager-inbox@eclipse. |jonah@xxxxxxxxxxxxxxxx
                   |org                         |
             Status|NEW                         |ASSIGNED

--
You are receiving this mail because:
You reported the bug.
You are the assignee for the bug.
You are on the CC list for the bug.
You are watching the assignee of the bug.

Back to the top