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

Linux - wrong name of desktop file generated by jpackage

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • 14, 15, 16
    • tools

      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

            herrick Andy Herrick (Inactive)
            herrick Andy Herrick (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: