Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-2243

Typo in "/usr/bin/fop" breaks fop

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 1.1
    • None
    • unqualified
    • None
    • OpenSuSE 12.3

    Description

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

      1. 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"
      1. Set parameters
        set_jvm

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            johan162 Johan Persson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 10m
                10m
                Remaining:
                Remaining Estimate - 10m
                10m
                Logged:
                Time Spent - Not Specified
                Not Specified

                Slack

                  Issue deployment