Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8222676

create-installer with --app-image fails on mac

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: internal
    • Fix Version/s: internal
    • Component/s: tools
    • Labels:

      Description

      The following example fails on mac:
      ----------------------------------------
      rm -rf output/simple* xxx foo

      $JDK_HOME/bin/jpackage create-app-image \
      --input input-hello \
      --output output \
      --name simple \
      --main-jar hello.jar \
      --main-class hello \
      --temp-root foo \

      rm -rf simple.app
      cp -r output/simple.app .

      $JDK_HOME/bin/jpackage create-installer \
      --installer-type pkg \
      --output output \
      --app-image simple.app \
      --name simple \
      --verbose \
      --temp-root xxx \
      -------------------------------
      if instead we put simple.app in a subdirectory (say my-simple) it works fine:
      -------------------------------
      $JDK_HOME/bin/jpackage create-installer \
      --installer-type pkg \
      --output output \
      --app-image my-simple/simple.app \
      --name simple \
      --verbose \
      --temp-root xxx \

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                almatvee Alexander Matveev
                Reporter:
                herrick Andy Herrick
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: