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

JPackage OS specific options raise errors instead of warnings

XMLWordPrintable

    • x86_64
    • windows_10

      ADDITIONAL SYSTEM INFORMATION :
      Tested OpenJDK 14 on Windows 10, Fedora 30 and macOS Mojave (10.14).

      A DESCRIPTION OF THE PROBLEM :
      Right now, when passing Linux specific options to JPackage while launching on Windows for instance, JPackage will raise an error and stop. So when doing a cross-platform packaging solution for a Java application in Maven, I'm forced to use separate profiles and write very verbose stuff just to add 3 specific options for Linux, 2 for Windows and none for macOS.

      This will greatly simplify Maven configuration if JPackage could just raise some warnings and ignore those OS specific options targeted at the wrong OS.


            herrick Andy Herrick (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: