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

Fix create-installer specific options on MAC

    XMLWordPrintable

Details

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

    Description

      Many of the jpackage options that are specifically for create-installer mode on windows and unix are used in create-image mode on mac.

      Before EA 4 (build 30) such options generated a warning, but were used anyway. Now they are an error (when used in create-image mode).

      This may have been masked before by the problems we had using --app-image on MAC. Because of those bugs, you could not really run "jpackager create-image" followed by "jpackager create-installer --app-image" and build your app in two separate steps on MAC.

      Now that you can, options such as "--associations" which are listed as a "create installer" option, cannot be used in the first step, where they are needed in the first step on mac.

      The point is the Info.plist generated for by Mac MacAppImageBuilder contains the directives that are part of the installer on other platforms.

      We need to look at each option currently listed as installer mode option and make sure if it is used by MacAppImageBuilder then it should be allowed in create-image mode (at least on MAC).

      Attachments

        Activity

          People

            herrick Andy Herrick (Inactive)
            herrick Andy Herrick (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: