JAXB Problem [message #1838077] |
Mon, 15 February 2021 08:11  |
Eclipse User |
|
|
|
Hi all,
I am struggling with rebase of our plugin for TraceCompass (our trace type)
We are using a lot of XML analysis which are defined in external XML files. Until the version of Trace Compass 5.2.0 a Java 8, everything worked perfectly.
But the newer version are based on Java 11 (minimally) and there is the problem with JAXB libraries.
I am trying to import JAXB jars as external jar libraries, but still the XML files are not loaded because of missing com.sun.xml.bind.v2.ContextFactory. (I googled it a lot, but nothing worked).
So my question is, how do you read XML files for XML Analysis? I have to get rid of this JAXB dependency, but I do not know how to start or where to find code example inside of TC.
Thank you in advace for your answers.
|
|
|
|
Re: JAXB Problem [message #1838112 is a reply to message #1838086] |
Tue, 16 February 2021 05:06  |
Eclipse User |
|
|
|
Hi Geneviève,
thank you for your quick answer! I looked on sources you sent me, to be precise, I look only at [1], because the incubator URL ends with 404.
BUT the first link helped me, because the org.eclipse.tracecompass.lttng2.kernel.core is using org.eclipse.tracecompass.tmf.analysis.xml.core and this is what I am looking for. It looks very similar to our solution. So hopefully I will be able to fix our solution based on this.
I will update my status when I will finish it.
Once again, thank you!
|
|
|
Powered by
FUDForum. Page generated in 0.05199 seconds