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

[PATCH] Fop CLI Errors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Resolution: Fixed
    • 2.5
    • None
    • unqualified
    • None
    • Operating System: Linux
      Platform: PC
    • 45971

    Description

      The following problems are associated with the command line interface (CLI) to Fop:

      1. Running 'fop' with no arguments throws an exception after printing
      a usage statement.

      2. Running 'fop -v' throws an exception after printing the version.

      3. Current usage and help messages refer to 'Fop' while the user
      executes 'fop'.

      The attached patch was generated by running 'svn diff' at the top of
      the working directory of a checked-out fop trunk at revision 702651.

      It affects the following files:

      src/java/org/apache/fop/cli/CommandLineOptions.java
      src/java/org/apache/fop/cli/Main.java

      It corrects all three issues listed above.

      Attachments

        1. fop.patch
          5 kB
          Tom Browder

        Activity

          People

            fop-dev@xmlgraphics.apache.org fop-dev
            tom.browder@fwb.srs.com Tom Browder
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: