document how java-options values with spaces are processed

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 14
    • Affects Version/s: 14
    • Component/s: docs
    • None

      when the jpackage option "--java-options" is used with a value containing spaces, the cfg file is ill formed, resulting in an app that may not be able to run.
      for example:
      jpackage \
      --input ../input-jars \
      --output output \
      --name simple \
      --main-jar hello.jar \
      --main-class hello \
      --java-options '-Dfoo=foo bar' \
      results in a simple.cfg file with:
      [JavaOptions]
      -Dfoo=foo
      bar

      the app then fails since 'bar' is not a valid option

            Assignee:
            Joni Gordon (Inactive)
            Reporter:
            Andy Herrick (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: