Re: Create fop-hyph.jar during build

2016-02-02 Thread Mathieu Malaterre
Just FYI, I made minimal progress. It appears that the ant rule is
called 'compile-hyphenation', which in my case is called this way:

$ CLASSPATH=/usr/share/java/xmlgraphics-commons-2.1.jar ant compile-hyphenation

which leads to an error deep down a java command:

$ /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java -Xss512k -classpath
/home/mathieu/debian/fop/fop-2.1/build/classes
org.apache.fop.hyphenation.SerializeHyphPattern
/home/mathieu/debian/fop/fop-2.1/hyph
/home/mathieu/debian/fop/fop-2.1/build/classes/hyph
Processing /home/mathieu/debian/fop/fop-2.1/hyph/sa.xml
Exception in thread "main" java.lang.StackOverflowError
at org.apache.fop.hyphenation.TernaryTree.insert(TernaryTree.java:244)
at org.apache.fop.hyphenation.TernaryTree.insert(TernaryTree.java:244)
at org.apache.fop.hyphenation.TernaryTree.insert(TernaryTree.java:244)
at org.apache.fop.hyphenation.TernaryTree.insert(TernaryTree.java:244)
[...]
at org.apache.fop.hyphenation.TernaryTree.insert(TernaryTree.java:244)


Anyone out there building fop-hyph.jar manually ?

-M

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Create fop-hyph.jar during build

2016-02-02 Thread Mathieu Malaterre
Hi there,

I am trying to update the fop package for debian. I would like to fix
an issue with offo as it is currently not working. What happen is that
I downloaded the source offo distribution and extracted the *.xml
within fop-2.1/hyph directory.

I failed to understand the instruction to build fop-hyph.jar directly
from *.xml files. Could someone please direct me to the instructions ?
It is important for Debian to be able to distribute source files
(*.xml) compared to binary files (*.hyp).

Thanks

---

For reference:

The follow page seems to indicates that I should be able to extract
*.xml directory in fop-2.1/hyph:

http://offo.sourceforge.net/hyphenation/installation.html

While the page:

https://xmlgraphics.apache.org/fop/2.1/hyphenation.html#install

Seems to indicate that pre-build *.hyp files should be placed directly
in fop-2.1/hyph:

Which is also corroborated by the build.xml rule:



-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org