[ https://issues.apache.org/jira/browse/FOP-2916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17052135#comment-17052135 ]
Mathieu Malaterre commented on FOP-2916: ---------------------------------------- OK, found the issue: {code} $ grep -A 2 libs-build-classpath fop/build.xml | head -3 <path id="libs-build-classpath"> <fileset dir="${basedir}/lib"> <include name="*.jar"/> {code} At least during building of Debian package, the jar files et generated in 'target' directory. > Error: Could not find or load main class > org.apache.fop.hyphenation.SerializeHyphPattern > ---------------------------------------------------------------------------------------- > > Key: FOP-2916 > URL: https://issues.apache.org/jira/browse/FOP-2916 > Project: FOP > Issue Type: Bug > Reporter: Mathieu Malaterre > Priority: Major > > This is getting more and more complex to build fop-hyph. > Here is the compilation log: > {code} > mkdir -p fop/lib/build > # While the README mention those are deprecated build instructions it > # seems those targets have not been moved to the new maven build system > ant -f fop/build.xml -lib > /usr/share/java/xmlgraphics-commons.jar:/usr/share/java/commons-logging.jar:/usr/share/java/commons-io.jar:/usr/share/java/batik-libs.jar:/usr/share/java/xml-apis-ext.jar:/usr/share/java/fontbox2.jar:/usr/share/java/servlet-api-3.1.jar:/usr/share/java/fop.jar > jar-hyphenation > Buildfile: > /mnt/dbc64c37-340a-49e5-8184-a69e01e5e231/mathieu/debian/fop/fop/build.xml > Trying to override old definition of task javac > Trying to override old definition of task junit > compile-hyphenation: > [mkdir] Created dir: > /mnt/dbc64c37-340a-49e5-8184-a69e01e5e231/mathieu/debian/fop/fop/build/classes/hyph > [java] Error: Could not find or load main class > org.apache.fop.hyphenation.SerializeHyphPattern > [java] Caused by: java.lang.ClassNotFoundException: > org.apache.fop.hyphenation.SerializeHyphPattern > [java] Java Result: 1 > [echo] Hyphenation failed > uptodate-jar-hyphenation: > jar-hyphenation: > [jar] Building MANIFEST-only jar: > /mnt/dbc64c37-340a-49e5-8184-a69e01e5e231/mathieu/debian/fop/fop/build/fop-hyph.jar > BUILD SUCCESSFUL > Total time: 0 seconds > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)