Fix JasperReport tests to ignore missing fonts

Add 'jasperreports.properties' to ignore missing fonts in order that
tests pass on Linux.

The upgraded JasperReports 5.0.4 throws a JRFontNotFoundException when
a report font is not found. This caused Spring MVC tests to fail since
the example reports used the 'Arial' font which is not shipped with most
Linux distributions.

An alternative fix would have been to package fonts with the reports
using JasperReports font extension support.

Issue: SPR-10438
This commit is contained in:
Stevo Slavic 2013-04-03 00:40:28 +02:00 committed by Phillip Webb
parent 761bd9fd56
commit d80ea16291
1 changed files with 1 additions and 0 deletions

View File

@ -0,0 +1 @@
net.sf.jasperreports.awt.ignore.missing.font=true