Bladeren bron

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 jaren geleden
bovenliggende
commit
6405d862d3
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1
    1
      src/java/org/apache/fop/cli/CommandLineOptions.java

+ 1
- 1
src/java/org/apache/fop/cli/CommandLineOptions.java Bestand weergeven

@@ -1030,7 +1030,7 @@ public class CommandLineOptions {
private void setUserConfig() throws FOPException, IOException {
FopFactoryBuilder fopFactoryBuilder;
if (userConfigFile == null) {
fopFactoryBuilder = new FopFactoryBuilder(new File(".").toURI());
fopFactoryBuilder = new FopFactoryBuilder(fofile.toURI());
fopFactoryBuilder.setStrictFOValidation(strictValidation);
fopFactoryBuilder.setTargetResolution(targetResolution);
fopFactoryBuilder.setComplexScriptFeatures(useComplexScriptFeatures);

Laden…
Annuleren
Opslaan