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

Allow additional contents for DMG

    XMLWordPrintable

Details

    • CSR
    • Resolution: Approved
    • P4
    • 18
    • tools
    • None
    • behavioral
    • minimal
    • Hide
      No change of behavior when new command line option is not used.
      Show
      No change of behavior when new command line option is not used.
    • add/remove/modify command line option
    • JDK

    Description

      Summary

      Create a macosx specific jpackage option to allow adding additional content to a dmg created by jpackage

      Problem

      Jpackage will create a DMG consisting only of the app-image.

      Customers have requested ability to add additional content to the DMG

      Solution

      Add a jpackage option to allow adding arbitrary content (files and/or directory trees) to the dmg.

      Specification

      Add the new option:

      --mac-dmg-content <path to additional content>[,<path to additional content>...]
      Include all the referenced content in the dmg.
      This option can be used multiple times.

      Only valid for Mac dmg type bundles, Usage with other bundle types is an error.

      The mac-dmg-content argument is a comma separated list of paths to any content (presumably a runtime image or pkg, but can be anything)

      The Disk Image created by jpackage will include the application plus all the mac-dmg-content. It's dmg script will show in finder the main app image and prompt to move it to the install-dir (as now) but will also show all the co-bundled items.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: