Re: build error in fop-trunk
Hi, Can you share the errors you are seeing? Also don't forget FOP supports older Java versions so might need to build with Java 7 Thanks Chris On 10/03/2020 19:31, jfrm.mau...@gmail.com wrote: Hi, I just cloned from git repository with: git clone https://github.com/apache/xmlgraphics-fop.git I build with: mvn clean install but the builds fails in the fop core task apparently from missing resources. Am I doing something wrong to build fop ? Regards PS: I am on windows 10 if relevant - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: build error in fop-trunk
Hi Chris, Thank you for your answer. Le 18/03/2020 à 15:18, Chris Bowditch a écrit : Can you share the errors you are seeing? Sure. I investigated a little bit more: 1- an event-model.xml was missing because ANT_HOME was not set on my computer if I am not mistaken. A comment in the README file could help future users may be. 2- I suspect a problem of 'end of line' (I build on Windows 10 with java 8) in test org.apache.fop.accessibility.fo.FO2StructureTreeConverterTestCase 3- I pasted the full report from maven build below (don't if attachment are allowed). Also don't forget FOP supports older Java versions so might need to build with Java 7 Thanks for the tip. Regards === MAVEN BUILD REPORT === [INFO] Scanning for projects... [INFO] [INFO] Reactor Build Order: [INFO] [INFO] Apache FOP Parent [pom] [INFO] Apache FOP Utilities [jar] [INFO] Apache FOP Events [jar] [INFO] Apache FOP Core [jar] [INFO] Apache FOP All-In-One [jar] [INFO] Apache FOP Sandbox [jar] [INFO] Apache FOP Servlet [war] [INFO] Apache FOP Transcoder [jar] [INFO] Apache FOP Transcoder All-In-One [jar] [INFO] [INFO] -< org.apache.xmlgraphics:fop-parent >-- [INFO] Building Apache FOP Parent 2.5.0-SNAPSHOT [1/9] [INFO] [ pom ]- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ fop-parent --- [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ fop-parent --- [INFO] Installing D:\git\xmlgraphics-fop\pom.xml to C:\Users\mlamo\.m2\repository\org\apache\xmlgraphics\fop-parent\2.5.0-SNAPSHOT\fop-parent-2.5.0-SNAPSHOT.pom [INFO] [INFO] --< org.apache.xmlgraphics:fop-util >--- [INFO] Building Apache FOP Utilities 2.5.0-SNAPSHOT [2/9] [INFO] [ jar ]- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ fop-util --- [INFO] Deleting D:\git\xmlgraphics-fop\fop-util\target [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ fop-util --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory D:\git\xmlgraphics-fop\fop-util\src\main\resources [INFO] Copying 2 resources to META-INF [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ fop-util --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 3 source files to D:\git\xmlgraphics-fop\fop-util\target\classes [WARNING] /D:/git/xmlgraphics-fop/fop-util/src/main/java/org/apache/fop/util/XMLResourceBundle.java: D:\git\xmlgraphics-fop\fop-util\src\main\java\org\apache\fop\util\XMLResourceBundle.java uses unchecked or unsafe operations. [WARNING] /D:/git/xmlgraphics-fop/fop-util/src/main/java/org/apache/fop/util/XMLResourceBundle.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ fop-util --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory D:\git\xmlgraphics-fop\fop-util\src\test\resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ fop-util --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ fop-util --- [INFO] No tests to run. [INFO] [INFO] --- maven-jar-plugin:3.1.1:jar (default-jar) @ fop-util --- [INFO] Building jar: D:\git\xmlgraphics-fop\fop-util\target\fop-util-2.5.0-SNAPSHOT.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ fop-util --- [INFO] Installing D:\git\xmlgraphics-fop\fop-util\target\fop-util-2.5.0-SNAPSHOT.jar to C:\Users\mlamo\.m2\repository\org\apache\xmlgraphics\fop-util\2.5.0-SNAPSHOT\fop-util-2.5.0-SNAPSHOT.jar [INFO] Installing D:\git\xmlgraphics-fop\fop-util\pom.xml to C:\Users\mlamo\.m2\repository\org\apache\xmlgraphics\fop-util\2.5.0-SNAPSHOT\fop-util-2.5.0-SNAPSHOT.pom [INFO] [INFO] -< org.apache.xmlgraphics:fop-events >-- [INFO] Building Apache FOP Events 2.5.0-SNAPSHOT [3/9] [INFO] [ jar ]- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ fop-events --- [INFO] Deleting D:\git\xmlgraphics-fop\fop-events\target [INFO] [INFO] --- maven-resourc
RE: build error in fop-trunk
Hi, Try: mvn clean install -DskipTests Thanks -Original Message- From: jfrm.mau...@gmail.com Sent: 18 March 2020 15:00 To: fop-users@xmlgraphics.apache.org Cc: Chris Bowditch Subject: Re: build error in fop-trunk Hi Chris, Thank you for your answer. Le 18/03/2020 à 15:18, Chris Bowditch a écrit : > Can you share the errors you are seeing? Sure. I investigated a little bit more: 1- an event-model.xml was missing because ANT_HOME was not set on my computer if I am not mistaken. A comment in the README file could help future users may be. 2- I suspect a problem of 'end of line' (I build on Windows 10 with java 8) in test org.apache.fop.accessibility.fo.FO2StructureTreeConverterTestCase 3- I pasted the full report from maven build below (don't if attachment are allowed). > Also don't forget FOP supports older Java versions so might need to > build with Java 7 Thanks for the tip. Regards === MAVEN BUILD REPORT === [INFO] Scanning for projects... [INFO] [INFO] Reactor Build Order: [INFO] [INFO] Apache FOP Parent [pom] [INFO] Apache FOP Utilities [jar] [INFO] Apache FOP Events [jar] [INFO] Apache FOP Core[jar] [INFO] Apache FOP All-In-One [jar] [INFO] Apache FOP Sandbox [jar] [INFO] Apache FOP Servlet [war] [INFO] Apache FOP Transcoder [jar] [INFO] Apache FOP Transcoder All-In-One [jar] [INFO] [INFO] -< org.apache.xmlgraphics:fop-parent >-- [INFO] Building Apache FOP Parent 2.5.0-SNAPSHOT [1/9] [INFO] [ pom ]- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ fop-parent --- [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ fop-parent --- [INFO] Installing D:\git\xmlgraphics-fop\pom.xml to C:\Users\mlamo\.m2\repository\org\apache\xmlgraphics\fop-parent\2.5.0-SNAPSHOT\fop-parent-2.5.0-SNAPSHOT.pom [INFO] [INFO] --< org.apache.xmlgraphics:fop-util >--- [INFO] Building Apache FOP Utilities 2.5.0-SNAPSHOT [2/9] [INFO] [ jar ]- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ fop-util --- [INFO] Deleting D:\git\xmlgraphics-fop\fop-util\target [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ fop-util --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory D:\git\xmlgraphics-fop\fop-util\src\main\resources [INFO] Copying 2 resources to META-INF [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ fop-util --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 3 source files to D:\git\xmlgraphics-fop\fop-util\target\classes [WARNING] /D:/git/xmlgraphics-fop/fop-util/src/main/java/org/apache/fop/util/XMLResourceBundle.java: D:\git\xmlgraphics-fop\fop-util\src\main\java\org\apache\fop\util\XMLResourceBundle.java uses unchecked or unsafe operations. [WARNING] /D:/git/xmlgraphics-fop/fop-util/src/main/java/org/apache/fop/util/XMLResourceBundle.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ fop-util --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory D:\git\xmlgraphics-fop\fop-util\src\test\resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ fop-util --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ fop-util --- [INFO] No tests to run. [INFO] [INFO] --- maven-jar-plugin:3.1.1:jar (default-jar) @ fop-util --- [INFO] Building jar: D:\git\xmlgraphics-fop\fop-util\target\fop-util-2.5.0-SNAPSHOT.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ fop-util --- [INFO] Installing D:\git\xmlgraphics-fop\fop-util\target\fop-util-2.5.0-SNAPSHOT.jar to C:\Users\mlamo\.m2\repository\org\apache\xmlgraphics\fop-util\2.5.0-SNAPSHOT\fop-util-2.5.0-SNAPSHOT.jar [INFO] Installing D:\git\xmlgraphics-fop\fop-util\pom.xml to C:\Users\mlamo\.m2\repository\org\apache\xmlgraphics\fop-util\2.5.0-SNAPSHOT\fop-util-2.5.0-SNAPSHOT.pom [INFO] [INFO] -< org.apache.xmlgraphics:fop-events >-- [INFO] Building Apa
Re: build error in fop-trunk
Hi Simon, Thank you for your suggestion. Le 18/03/2020 à 16:33, Simon Steiner a écrit : mvn clean install -DskipTests This one works however as I am trying to learn I would prefer a clean build. Regards -- Jean-François MAUREL PIMECA http://www.pimeca.com - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
RE: build error in fop-trunk
Hi, I've fixed one of your failures, the other tests were passing for me on windows. Thanks -Original Message- From: jfrm.mau...@gmail.com Sent: 18 March 2020 17:17 To: fop-users@xmlgraphics.apache.org Subject: Re: build error in fop-trunk Hi Simon, Thank you for your suggestion. Le 18/03/2020 à 16:33, Simon Steiner a écrit : > mvn clean install -DskipTests This one works however as I am trying to learn I would prefer a clean build. Regards -- Jean-François MAUREL PIMECA http://www.pimeca.com - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
RE: build error in fop-trunk
Hi, I fixed the other failure now. Thanks -Original Message- From: Simon Steiner Sent: 02 April 2020 12:21 To: fop-users@xmlgraphics.apache.org; jfrm.mau...@gmail.com Subject: RE: build error in fop-trunk Hi, I've fixed one of your failures, the other tests were passing for me on windows. Thanks -Original Message- From: jfrm.mau...@gmail.com Sent: 18 March 2020 17:17 To: fop-users@xmlgraphics.apache.org Subject: Re: build error in fop-trunk Hi Simon, Thank you for your suggestion. Le 18/03/2020 à 16:33, Simon Steiner a écrit : > mvn clean install -DskipTests This one works however as I am trying to learn I would prefer a clean build. Regards -- Jean-François MAUREL PIMECA http://www.pimeca.com - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org