On Mar 8, 2007, at 20:17, Thomas Zastrow wrote:
Hi Tom,
for my little project, I tried to add mathml-support to my FOP. So,
as described in fop-0.93/examples/mathml/README, I downloaded
jEuclid and copied the Jar-file (jeuclid-2.9.4.jar) as jeuclid.jar
into FOP's lib-directory.
Then - please be patient, I never used ant before - I downloaded
ant and then in the mathml-directory of FOP:
../../../ant/apache-ant-1.7.0/bin/ant -buildfile build.xml
Hint: simply typing 'ant' will have the same net effect as the above
command. If Ant encounters a build.xml in the directory where it is
started, then it automatically picks it up and starts the build.
I personally only ever supply parameters to Ant if I need to run a
specific build target.
It started to do something, but then the process failed:
<snip />
compile:
[echo] Compiling the sources
[javac] Compiling 3 source files to /home/zastrow/fop/fop-0.93/
examples/mathml/build/classes
[javac] This version of java does not support the classic
compiler; upgrading to modern
[javac] /home/zastrow/fop/fop-0.93/examples/mathml/build/src/org/
apache/fop/mathml/MathMLElement.java:85: cannot find symbol
[javac] symbol : constructor DOMMathBuilder(org.w3c.dom.Document)
[javac] location: class net.sourceforge.jeuclid.DOMMathBuilder
[javac] (new DOMMathBuilder
(doc)).getMathRootElement(),
<snip />
If I interpret correctly, this is definitely not something you're
doing wrong.
It only seems like the JEuclid API has changed, and is currently
incompatible with the FOP MathML extension...
Someone on the FOP-side needs to update our extension code.
A possible (temporary) workaround: try to find an older version of
the JEuclid JAR.
Cheers,
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]