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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user