Browse Source

Changed the base URI of the FOP factory to be the FO file when CLI is used


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1358100 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-2_0
Mehdi Houshmand 12 years ago
parent
commit
6405d862d3
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/java/org/apache/fop/cli/CommandLineOptions.java

+ 1
- 1
src/java/org/apache/fop/cli/CommandLineOptions.java View File

private void setUserConfig() throws FOPException, IOException { private void setUserConfig() throws FOPException, IOException {
FopFactoryBuilder fopFactoryBuilder; FopFactoryBuilder fopFactoryBuilder;
if (userConfigFile == null) { if (userConfigFile == null) {
fopFactoryBuilder = new FopFactoryBuilder(new File(".").toURI());
fopFactoryBuilder = new FopFactoryBuilder(fofile.toURI());
fopFactoryBuilder.setStrictFOValidation(strictValidation); fopFactoryBuilder.setStrictFOValidation(strictValidation);
fopFactoryBuilder.setTargetResolution(targetResolution); fopFactoryBuilder.setTargetResolution(targetResolution);
fopFactoryBuilder.setComplexScriptFeatures(useComplexScriptFeatures); fopFactoryBuilder.setComplexScriptFeatures(useComplexScriptFeatures);

Loading…
Cancel
Save