Przeglądaj źródła

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 lat temu
rodzic
commit
6405d862d3

+ 1
- 1
src/java/org/apache/fop/cli/CommandLineOptions.java Wyświetl plik

@@ -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);

Ładowanie…
Anuluj
Zapisz