Code cleanup

- Removed unused xproc step.
- Removed unused code.
- Removed System.out.printlns
- Wrap IOException and Batik TranscodeException in XProcException and throw to fail the build.
This commit is contained in:
Salman Qureshi
2012-09-21 15:26:47 +05:00
parent c2f08c29b6
commit fe00cbdd9d
5 changed files with 25 additions and 338 deletions

View File

@@ -382,7 +382,6 @@ public class PDFBuilder {
}
protected Configuration loadFOPConfig() throws MojoExecutionException {
System.out.println ("At load config");
String fontPath = (new File(getAutopdfTargetDirectory().getParentFile(), "fonts")).getAbsolutePath();
StringTemplateGroup templateGroup = new StringTemplateGroup("fonts", fontPath);
StringTemplate template = templateGroup.getInstanceOf("fontconfig");