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

Binary distribution used to include an executable jar file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.9
    • main
    • unqualified
    • None
    • Windows 10

    Description

      With version 2.8 there was a single executable jar file in the build directory, allowing it to be run like so:

       

      C:\Program Files\Apache FOP\fop-2.8\fop\build>java -jar fop.jar -version
      FOP Version 2.8

      With version 2.9 this seems to no longer be the case.  Now it seems like the full class path and the main class need to be specified on the command line:

      C:\Program Files\Apache FOP\fop-2.9\fop\build>java -cp ";C:\Program Files\Apache FOP\fop-2.9\fop\build\fop-2.9.jar;C:\Program Files\Apache FOP\fop-2.9\fop\build\fop-core-2.9.jar;C:\Program Files\Apache FOP\fop-2.9\fop\build\fop-events-2.9.jar;C:\Program Files\Apache FOP\fop-2.9\fop\build\fop-util-2.9.jar;C:\Program Files\Apache FOP\fop-2.9\fop\lib\batik-anim-1.17.jar;C:\Program Files\Apache FOP\fop-2.9\fop\lib\batik-awt-util-1.17.jar;C:\Program Files\Apache FOP\fop-2.9\fop\lib\batik-bridge-1.17.jar;C:\Program Files\Apache FOP\fop-2.9\fop\lib\batik-codec-1.17.jar;C:\Program Files\Apache FOP\fop-2.9\fop\lib\batik-constants-1.17.jar;C:\Program Files\Apache FOP\fop-2.9\fop\lib\batik-css-1.17.jar;C:\Program Files\Apache FOP\fop-2.9\fop\lib\batik-dom-1.17.jar;C:\Program Files\Apache FOP\fop-2.9\fop\lib\batik-ext-1.17.jar;C:\Program Files\Apache FOP\fop-2.9\fop\lib\batik-extension-1.17.jar;C:\Program Files\Apache FOP\fop-2.9\fop\lib\batik-gvt-1.17.jar;C:\Program Files\Apache FOP\fop-2.9\fop\lib\batik-i18n-1.17.jar;C:\Program Files\Apache FOP\fop-2.9\fop\lib\batik-parser-1.17.jar;C:\Program Files\Apache FOP\fop-2.9\fop\lib\batik-script-1.17.jar;C:\Program Files\Apache FOP\fop-2.9\fop\lib\batik-shared-resources-1.17.jar;C:\Program Files\Apache FOP\fop-2.9\fop\lib\batik-svg-dom-1.17.jar;C:\Program Files\Apache FOP\fop-2.9\fop\lib\batik-svggen-1.17.jar;C:\Program Files\Apache FOP\fop-2.9\fop\lib\batik-transcoder-1.17.jar;C:\Program Files\Apache FOP\fop-2.9\fop\lib\batik-util-1.17.jar;C:\Program Files\Apache FOP\fop-2.9\fop\lib\batik-xml-1.17.jar;C:\Program Files\Apache FOP\fop-2.9\fop\lib\commons-io-2.11.0.jar;C:\Program Files\Apache FOP\fop-2.9\fop\lib\commons-logging-1.0.4.jar;C:\Program Files\Apache FOP\fop-2.9\fop\lib\fontbox-2.0.27.jar;C:\Program Files\Apache FOP\fop-2.9\fop\lib\xml-apis-1.4.01.jar;C:\Program Files\Apache FOP\fop-2.9\fop\lib\xml-apis-ext-1.3.04.jar;C:\Program Files\Apache FOP\fop-2.9\fop\lib\xmlgraphics-commons-2.9.jar" org.apache.fop.cli.Main -version
      FOP Version SVN

       

      An executable jar file for 2.9 would be appreciated.

      Also, as you can see above, 2.9 does not report a valid version number.  (I'll file a separate ticket for this.)

      Attachments

        Activity

          People

            ssteiner Simon Steiner
            thabing Tom Habing
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: