You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Johan Persson (JIRA)" <ji...@apache.org> on 2013/04/25 13:50:15 UTC

[jira] [Created] (FOP-2243) Typo in "/usr/bin/fop" breaks fop

Johan Persson created FOP-2243:
----------------------------------

             Summary: Typo in "/usr/bin/fop" breaks fop
                 Key: FOP-2243
                 URL: https://issues.apache.org/jira/browse/FOP-2243
             Project: Fop
          Issue Type: Bug
          Components: general
    Affects Versions: 1.1
         Environment: OpenSuSE 12.3
            Reporter: Johan Persson


In the "/usr/bin/fop" start script there is a list of needed jars. Among them it is listed so:

xml-commons-jaxp-1.3.apis

There is s typo in this since the installed jar is actually named

xml-commons-jaxp-1.3-apis

The error is that there should be a hyphen (-) instead of a period after the version number.

Reproducible: Always

The fix is obvious correct the name of the JAR. Patch below. fop.OLD is the existing fop with error

--- /usr/bin/fop.OLD    2013-04-25 13:31:30.614395317 +0200
+++ /usr/bin/fop        2013-04-25 13:31:56.952600172 +0200
@@ -33,7 +33,7 @@

 # Rest of the configuration
 MAIN_CLASS=org.apache.fop.cli.Main
-BASE_JARS="xmlgraphics-fop xmlgraphics-commons commons-logging commons-io
avalon-framework batik-all xml-commons-jaxp-1.3.apis
xml-commons-jaxp-1.3-apis-ext"
+BASE_JARS="xmlgraphics-fop xmlgraphics-commons commons-logging commons-io
avalon-framework batik-all xml-commons-jaxp-1.3-apis
xml-commons-jaxp-1.3-apis-ext"

 # Set parameters
 set_jvm


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira