-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
None
-
16
-
x86_64
-
linux
ADDITIONAL SYSTEM INFORMATION :
Ubuntu 18.04 x64 / JDK 14.0.2, JDK 16 Build 36
A DESCRIPTION OF THE PROBLEM :
After creating an app-image with jpackage the user should be able to modify the app-image by adding additional files to be included by the installer. If i do that under Windows when creating an MSI everything works as expected and the added files are included in the installer. But if i create a DEB package under Linux the added files are ignored. Ironically if I add them to 'target/image/AppName/bin/' they are included. But if i add them to 'target/image/AppName/app/' they are not. Even the folder is missing.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Create an app-image (working directory is 'target/'):
jlink --output runtime --module-path [..] --add-modules [..] --bind-services
jpackage --type app-image --dest image --module [..] --runtime-image runtime --name AppName
Copy some files to 'target/image/AppName/bin/' and 'target/image/AppName/app'.
Create the Debian installer package:
jpackage --type deb --dest installer --app-image image --name AppName
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The resulting .deb archive should include all added files.
ACTUAL -
Only the files copied to the 'bin' directory are included. The other files and folders are missing.
CUSTOMER SUBMITTED WORKAROUND :
All files could be copied to 'bin' instead, but if I read right, the 'app' folder would be the intended place.
FREQUENCY : always
Ubuntu 18.04 x64 / JDK 14.0.2, JDK 16 Build 36
A DESCRIPTION OF THE PROBLEM :
After creating an app-image with jpackage the user should be able to modify the app-image by adding additional files to be included by the installer. If i do that under Windows when creating an MSI everything works as expected and the added files are included in the installer. But if i create a DEB package under Linux the added files are ignored. Ironically if I add them to 'target/image/AppName/bin/' they are included. But if i add them to 'target/image/AppName/app/' they are not. Even the folder is missing.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Create an app-image (working directory is 'target/'):
jlink --output runtime --module-path [..] --add-modules [..] --bind-services
jpackage --type app-image --dest image --module [..] --runtime-image runtime --name AppName
Copy some files to 'target/image/AppName/bin/' and 'target/image/AppName/app'.
Create the Debian installer package:
jpackage --type deb --dest installer --app-image image --name AppName
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The resulting .deb archive should include all added files.
ACTUAL -
Only the files copied to the 'bin' directory are included. The other files and folders are missing.
CUSTOMER SUBMITTED WORKAROUND :
All files could be copied to 'bin' instead, but if I read right, the 'app' folder would be the intended place.
FREQUENCY : always