jpackage: remove redundant messages

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • 27
    • Affects Version/s: 27
    • Component/s: tools
    • None
    • generic
    • generic

      On macOS jpackage will print

      ```
      Warning: For signing PKG, you might need to set "Always Trust" for your certificate using "Keychain Access" tool.
      ```

      message when signing a PKG bundle on macOS 10.12+ [1]. This warning is redundant, as the user should have this type of configuration when using jpackage for any signing.

      On Windows, jpackage will print

      ```
      WiX <WIX_VER> detected. Enabling advanced cleanup action.
      ```

      notification when using WiX3.6+ for MSI and EXE packaging [2]. This notification is redundant: The oldest officially available version of WiX is 3.11 [3].

      Remove these messages.

      [1] https://github.com/openjdk/jdk/blob/e0b040a6c6713827033e9ba51c9ded920dd0203b/src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacPkgPackager.java#L512

      [2] https://github.com/openjdk/jdk/blob/e0b040a6c6713827033e9ba51c9ded920dd0203b/src/jdk.jpackage/windows/classes/jdk/jpackage/internal/WixAppImageFragmentBuilder.java#L148

      [3] https://github.com/wixtoolset/wix3/releases

            Assignee:
            Alexey Semenyuk
            Reporter:
            Alexey Semenyuk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: