mapfish/mapfish-print — pull request #54 by jbjonesjr (2013-05-27 16:16:06+00:00)
Title: Openjdk PDF Test patch

When running the gradle tests from within Intellij (and likely other ides and environments) using openjdk, the classloader differences cause some of the tests to fail. While the wrapper script provided is great for cli usage, it doesn't help for those attempting to run from these integrated environments.

This patch updates the way the pdf unit tests look for their "base directory," and if a openjdk-based failure is detected, attempts to use an alternate, claspath based lookup method.

This should be a near no-op for situations where the previous approach was already sufficient.