diff options
author | Mehdi Houshmand <mehdi@apache.org> | 2012-07-06 10:05:44 +0000 |
---|---|---|
committer | Mehdi Houshmand <mehdi@apache.org> | 2012-07-06 10:05:44 +0000 |
commit | 6405d862d3c5bb4427ed1fee0c38f18e0d245271 (patch) | |
tree | e64d6cc291167b163912f2f5ac4e5f3f98560b28 /src | |
parent | 95618303708dac1f2430073ffcda4816b95112c6 (diff) | |
download | xmlgraphics-fop-6405d862d3c5bb4427ed1fee0c38f18e0d245271.tar.gz xmlgraphics-fop-6405d862d3c5bb4427ed1fee0c38f18e0d245271.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/java/org/apache/fop/cli/CommandLineOptions.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/cli/CommandLineOptions.java b/src/java/org/apache/fop/cli/CommandLineOptions.java index ea5a20d27..5c561f9a5 100644 --- a/src/java/org/apache/fop/cli/CommandLineOptions.java +++ b/src/java/org/apache/fop/cli/CommandLineOptions.java @@ -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); |