Hi Guillaume sorry for the late reply. I was taking that route: starting from the source code and re-package the library. As I am not really an expert and quite new to the java modularity, I got stuck relative soon with that approach and moved to other issues of my projects. Anyhow, at a certain point I must fix this problem since I use a lot of opendocument. Instead of re-packaging, including the source code in the project could be a clever way, I will try that and let you know. jOpenDocument is a really good library, I would be sad to drop it.
Best regards Carlo Il giorno sabato 29 ottobre 2022 alle 19:31:27 UTC+2 [email protected] ha scritto: > Hi Carlo, > > Is it so complicated to include jOpenDocument from source code, or split > the jOpenDocument jar as needed? > > Regards, > Guillaume > > Le mar. 18 oct. 2022 à 13:33, [email protected] <[email protected]> a > écrit : > >> Hi All, >> I am a happy user of jOpenDocument for years. I am now modularizing an >> existing project but I got stack with the package 'org.w3c.dom' that is >> included in the jOpendocument jar file which conflicts with the same >> package of the java platform from java.xml. >> I was trying to exclude 'org.w3c.dom' in my Gradle build file but this is >> not possible because only transitive dependences can be excluded ( >> https://stackoverflow.com/questions/66319001/excluding-dependency-does-not-help-to-fix-the-package-org-w3c-dom-is-accessible), >> >> not packages bundled in the jar. >> Does anybody have a solution for this? >> Thanks in advance >> >> Carlo >> >> -- >> >> --- >> You received this message because you are subscribed to the Google Groups >> "jOpenDocument" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jopendocument/413a24b9-769c-49b5-84b9-517207ade9ecn%40googlegroups.com >> >> <https://groups.google.com/d/msgid/jopendocument/413a24b9-769c-49b5-84b9-517207ade9ecn%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- --- You received this message because you are subscribed to the Google Groups "jOpenDocument" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jopendocument/af3f6e74-1cf7-43ef-ace7-80115bdcc3b0n%40googlegroups.com.
