The installation of a new release of PDFUnit-Java runs just like the initial installation, because PDFUnit is always delivered as a full release, never as an incremental release.
If you use PDFUnit without a license, download the new ZIP file from the internet: http://www.pdfunit.com/en/download/index.html.
If you use PDFUnit with a license, you will receive a new release by mail with an attached ZIP file and a license file.
Before you start installing the new release, run all existing unit tests with the old release. They should be “green”.
Save your project.
Unzip the new release, but not into the existing project folder. In the following text
the folder with your new release is called
PDFUNITJAVA_HOME_NEW and the
project folder is called
Delete the folder
Copy the directory
PDFUNITJAVA_HOME_NEW to the folder, where the
old release was located, for example to
If you had placed the file
pdfunit.config in a different folder than
the installation folder, copy the corresponding new file from
that folder where it was located in the old release.
If you used the file
pdfunit.config with individual settings,
transfer the changes to the
pdfunit.config of the new release.
If you use PDFUnit with a license, copy the new license file
to the folder containing the old release.
No configuration steps are necessary for ANT if you have declared the classpath as described before in this chapter.
The new release has to be installed into your local or company-wide repository.
Open a shell, change to the directory
submit the following command:
mvn install:install-file -Dfile=pdfunit-java-VERSION.jar -DpomFile=pom.xml
Include all new JAR files in the build path. Remove the old JAR files from the build path. Eclipse should not show any build path error.
Register the Javadoc documentation again as described in chapter : “Configuring Eclipse”.