Skip to content

Latest commit

 

History

History
35 lines (31 loc) · 1.13 KB

BUILDING.md

File metadata and controls

35 lines (31 loc) · 1.13 KB

To build pdfHTML, Maven must be installed.

Running install without a profile will generate the pdfHTML jar:

$ mvn clean install \
    -Dmaven.test.skip=true \
    -Dmaven.javadoc.failOnError=false \
    > >(tee mvn.log) 2> >(tee mvn-error.log >&2)

To run the tests, Ghostscript and Imagemagick must be installed.

$ mvn clean install \
    -Dmaven.test.failure.ignore=false \
    -DgsExec=$(which gs) \
    -DcompareExec=$(which compare) \
    -Dmaven.javadoc.failOnError=false \
    > >(tee mvn.log) 2> >(tee mvn-error.log >&2)

You can use the supplied Vagrantfile to get a Vagrant VM (Ubuntu 14.04 LTS - Trusty Tahr, with VirtualBox) with all the required software installed.

$ vagrant box add ubuntu/trusty64
$ vagrant up
$ vagrant ssh -- \
    'cd /vagrant ; mvn clean install -Dmaven.test.skip=true -Dmaven.javadoc.failOnError=false' \
    > >(tee mvn.log) 2> >(tee mvn-error.log >&2)