Summary
Allow overriding description for additional launchers via property file.
Problem
The --description option provides a string that, among other things, is embedded into the .exe file. Currently there are no way to modify it for additional launchers and all launchers will have same description embedded into .exe. This description will be shown to user via popup message in Windows Explorer, in .exe file properties or by task manager.
Solution
Add "description" key to additional launchers property file which will allow overriding main "--description" option for specific launcher. Value of "description" key will completely substitute "--description" option for given launcher. This change will affect Windows .exe files and on Linux description in .desktop file corresponding to a launcher will be affected only if the .desktop file will be created to handle a custom icon or file association configured for the launcher. I.e. specifying the custom description for an additional launcher will not result in the creation of a .desktop file unless custom icon or file association are configured for the launcher.
Specification
Add "description" key to additional launchers property file.
Help text for "--add-launcher" will have additional "description" key added as supported keys and will read:
The keys "module", "main-jar", "main-class", "description",
"arguments", "java-options", "app-version", "icon",
"win-console", "win-shortcut", "win-menu",
"linux-app-category", and "linux-shortcut" can be used.
- csr of
-
JDK-8279995 jpackage --add-launcher option should allow overriding description
-
- Resolved
-