I tried running "mvn package" and then "dist" in build.xml. But both return compilation errors. I am guessing I either have the wrong tool(s) or my configuration just needs tweaking.
(Sorry if this question was answered previously. My searches did not turn up any hits on this question).
results: mvn package
- Code: Select all
...
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
C:\eclipse\workspace\docx4j\src\test\java\org\docx4j\listnumbering\ind\ListNumbe
rIndTest.java:[84,25] cannot find symbol
symbol : class XmlPackage
location: package org.docx4j.convert.in
C:\eclipse\workspace\docx4j\src\test\java\org\docx4j\listnumbering\ind\ListNumbe
rIndTest.java:[84,75] cannot find symbol
symbol : class XmlPackage
location: package org.docx4j.convert.in
...
results: "dist" in build xml
- Code: Select all
Buildfile: C:\eclipse\workspace\docx4j\build.xml
clean:
[delete] Deleting directory C:\eclipse\workspace\docx4j\bin
init:
[mkdir] Created dir: C:\eclipse\workspace\docx4j\bin
[copy] Copying 22 files to C:\eclipse\workspace\docx4j\bin
build-project:
[echo] docx4j: C:\eclipse\workspace\docx4j\build.xml
[javac] Compiling 776 source files to C:\eclipse\workspace\docx4j\bin
[javac] C:\eclipse\workspace\docx4j\src\main\java\org\docx4j\Dom4jUtils.java:25: package org.apache.log4j does not exist
[javac] import org.apache.log4j.Logger;
[javac] ^
[javac] C:\eclipse\workspace\docx4j\src\main\java\org\docx4j\Dom4jUtils.java:27: package org.dom4j does not exist
[javac] import org.dom4j.DocumentException;
...