jpackage rpm bug

Andy Herrick andy.herrick at oracle.com
Tue Sep 29 22:43:10 UTC 2020


I filed issue for this: https://bugs.openjdk.java.net/browse/JDK-8253826 
and will look in it in the morning.

/Andy


On 9/29/2020 2:41 PM, Sverre Moe wrote:
> 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


More information about the core-libs-dev mailing list