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

[PATCH] Support to launch fop command from the MSYS2/MINGW bash on Windows

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.3
    • Fix Version/s: None
    • Component/s: unqualified
    • Labels:
    • Environment:
      Windows 7/10 with MSYS2 (www.msys2.org)
    • Flags:
      Patch

      Description

      When using the fop 2.3 binary download with a MSYS2 shell, the fop command in the main directory fails because it does not know anything about MSYS2. Same problem exists after running fop from a MINGW32/64 bash. The fop.bat worked out of the box but would need cmd.exe.

      The patch (for fop 1.0) is from here: https://gist.github.com/lammermann/1307565

      My patch enables MSYS2 too (MSYS2 uses different uname's for its shells) and targets version 2.3.

      To test it you need a JAVA_HOME env variable which leads to a JRE (tested with jre1.8.0_192) and you have to add $JAVA_HOME/bin and fop-2.3/fop to the PATH variable.

        Attachments

        1. fop-2.3-msys2.patch
          0.8 kB
          Gerrit Albrecht

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Munahid Gerrit Albrecht
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Time Tracking

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