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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2
    • internal
    • internal
    • tools

    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

              almatvee Alexander Matveev
              herrick Andy Herrick (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: