Re: xmlcalabash extensions step: No 'class' in configuration for cx:mathml-to-svg

aanno <[email protected]>
Newsgroups gmane.text.docbook.apps
Message-ID <[email protected]>
I could now answer the question on my own:

1. Finding xmlcalabash extension steps works by aannotationProcessing of
classindex. Hence I have to include the following into my gradle file:

+    // needed to find xmlcalabash extension steps _in our code_
+    api("org.atteo.classindex", "classindex", "3.4")
+    annotationProcessor("org.atteo.classindex", "classindex", "3.4")

2. The Java11 module system also must 'open' the classes to reflection
in module-info.java

+    exports com.xmlcalabash.extensions.math_to_svg;
+    exports com.xmlcalabash.extensions.xslthl;

3. Java11 does not like the old jeuclid code. You have to use the the
following jeuclid fork:

+    api("de.rototor.jeuclid:jeuclid-core:3.1.14")
+    api("de.rototor.jeuclid:jeuclid-fop:3.1.14")

Kind regards,

Thomas
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.