java version "1.7.0_40"
OpenJDK Runtime Environment (IcedTea 2.4.1) (ArchLinux build 7.u40_2.4.1-2-x86_64)
OpenJDK 64-Bit Server VM (build 24.0-b50, mixed mode)
Apache Ant(TM) version 1.9.2 compiled on July 24 2013
When I run ant generate-doc-users-guide I get a very long list of errors like this
[xslt.doc] Processing /home/elelay/jedit/jEdit/doc/users-guide/users-guide.xml to /home/elelay/jedit/jEdit/build/doc/users-guide/index.html
[xslt.doc] Loading stylesheet /home/elelay/jedit/jEdit/doc/jedithtml.xsl
[xslt.doc] /home/elelay/jedit/jEdit/build/docbook-xsl/docbook/html/inline.xsl:204:54: Error! java.lang.NoSuchMethodException: For extension function, could not find method com.nwalsh.saxon.UnwrapLinks.unwrapLinks([ExpressionContext,] #RTREEFRAG).
[xslt.doc] Checked both static and instance methods. Cause: java.lang.NoSuchMethodException: For extension function, could not find method com.nwalsh.saxon.UnwrapLinks.unwrapLinks([ExpressionContext,] #RTREEFRAG).
[xslt.doc] Checked both static and instance methods.
It still creates the html files but the content of <quote> elements is removed.
For instance, in Writing Macros Basics the quote describing beanshell has openquote and closequote but no content inside.
I've separately downloaded ant 1.8.4 and when building with it the error doesn't appear.
|Submitted||kerik-sf - 2013-08-13 - 06:44:17z||Assigned||nobody|
|2013-08-13 - 07:25:02z
|It seems to be related to the xslt processor picked by ant.
Apparently, the Saxon implementation is not picked anymore when its jar is added to the classpath.
I guess it's now appended instead of prepended...
Specifying explicitely the xslt processor class (<factory name="com.icl.saxon.TransformerFactoryImpl"/>) fixes the build issue for me.
|2013-08-13 - 07:22:36z
minimal project showing the issue