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

Add support to jpackage for the Mac App Store

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Approved
    • Icon: P3 P3
    • 17
    • tools
    • None
    • behavioral
    • minimal
    • add/remove/modify command line option
    • JDK

      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".

            herrick Andy Herrick (Inactive)
            webbuggrp Webbug Group
            Alexander Matveev, Alexander Zuev, Alexey Semenyuk, Kevin Rushforth, Philip Race
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: