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

Linux - wrong name of desktop file generated by jpackage

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Not an Issue
    • Affects Version/s: 14, 15, 16
    • Fix Version/s: None
    • Component/s: tools
    • Labels:

      Description

      When using a resource directory with a desktop-file and a spec-file.
      The resulting RPM file will contain the desktop file, but its filename is
      wrong. It is adding the application name twice.

      Instead of "test-application.desktop" the RPM contains
      "test-application-test-application.desktop".

      I created a test application project on GitHub to demonstrate this problem.
      https://github.com/DJViking/test-application

      Running the gradle task createPackage will create an RPM with the desktop
      file.
      ~> export JAVA_HOME=/usr/java/jdk-14
      ~> ./gradlew createPackage

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: