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

JPackage OS specific options raise errors instead of warnings

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      windows_10

      Description

      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.


        Attachments

          Activity

            People

            Assignee:
            herrick Andy Herrick
            Reporter:
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: