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

jpackage problems when -input dir contains any files with "cfg" extension.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: internal
    • Fix Version/s: internal
    • Component/s: tools
    • Labels:

      Description

      All the files of the --input dir are copied into the "app" dir, including any file or files with the extension "cfg".
      When building an app image jpackage creates one "cfg" file for the main launcher and possible additional "cfg" files for each additional launcher built due to --add-launcher option.

      The manifesting problem is that when an app-image with extra "cfg" files is used to create an installer on windows, we look for the <name>.cfg file to determine the name of the application, then create shortcuts using <name>.ico to app <name>.exe.
      if we are looking at the wrong <name>.cfg file in the app directory, we will not be able to find corresponding ico or exe and will not create any shortcuts.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              herrick Andy Herrick
              Reporter:
              herrick Andy Herrick
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: