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

Add support to jpackage for the Mac App Store

    XMLWordPrintable

    Details

    • Type: CSR
    • Status: Closed
    • Priority: P3
    • Resolution: Approved
    • Fix Version/s: 17
    • Component/s: tools
    • Labels:
      None
    • Subcomponent:
    • Compatibility Kind:
      behavioral
    • Compatibility Risk:
      minimal
    • Interface Kind:
      add/remove/modify command line option
    • Scope:
      JDK

      Description

      Summary

      Add new jpackage CLI options to enable easily building pkg suitable for the Mac App Store.

      Problem

      Building a pkg suitable for the Mac App Store requires different certificates, different build commands, and has other different requirements than building a pkg for distribution outside the App Store.
      It is therefore required that we add a CLI option to let jpackage know if it is building for APP Store or for external deployment. It is also advisable that we add other CLI options as needed to make App Store deployment a simple process.

      Solution

      We will add the following jpackage CLI options:

      --mac-app-store

      --mac-entitlements entitlements file

      --mac-app-category category

      Specification

      --mac-app-store

      Indicates that the jpackage output is intended for the Mac App Store.

      --mac-entitlements file path

      Path to file containing entitlements to use when signing executables and libraries in the bundle.

      --mac-app-category category string

      String used to construct LSApplicationCategoryType value in the Application plist. The default value is "utilities".

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              herrick Andy Herrick
              Reporter:
              webbuggrp Webbug Group
              Reviewed By:
              Alexander Matveev, Alexander Zuev, Alexey Semenyuk, Kevin Rushforth, Philip Race
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: