<head><html> Hello,
I can not post bug on jdk bug database.

I encounter the following problem on Mac OS Mojave 10.14.5.

Execution of the order: clear; rm -rf ./tmpjpackage/ ./garbage/; ~ / jdk-13.jdk / Contents / Home / bin / jpackage create-installer --temp-root ./tmpjpackage/ --installer-type pkg -o ./garbage -i ../bin/ -n 'Product name'--main-jar main.jar --app-version 4.3.1 --resource-dir ./resources/rs --vendor MyCompany --runtime-image ./jre --verbose

The command executes correctly but the output is:
Building PKG package for Product Name.
Using custom package resource [icon] (loaded from Product Name.icns).
Preparing Info.plist: /Users/MyAccount/Desktop/deployment/macos/./tmpjpackage/images/image-3449718040042442323/Product Name.app/Contents/Info.plist. Using custom package resource [Application Info.plist] (loaded from Info.plist). Using default package resource Runtime-Info.plist.template [Java Runtime Info.plist] (add Runtime-Info.plist to the resource-dir to customize).
Using custom package resource [loaded from Product Name-background.png].
Preparing distribution.dist: /Users/My Account/Desktop/deployment/macos/./tmpjpackage/config/distribution.dist. no default package resource [add to Product Name-post-image.sh to the resource-dir to customize]. Running [pkgbuild, --root, ./tmpjpackage/images/image-3449718040042442323, --install-location, / Applications, --analyze, /Users/MyAccount/Desktop/deployment/macos/./tmpjpackage/config/ cpl.plist] pkgbuild: Inferring bundle components from contents of ./tmpjpackage/images/image-3449718040042442323 pkgbuild: Writing new component property list to /Users/MyAccount/Desktop/deployment/macos/./tmpjpackage/config/cpl.plist
Preparing package scripts.
Using default package resource preinstall.template [PKG preinstall script] (add preinstall to the resource-dir to customize). Using postinstall.template [PKG postinstall script] (add postinstall to the resource-dir to customize). Running [pkgbuild, --root, ./tmpjpackage/images/image-3449718040042442323, --install-location, / Applications, --component-plist, /Users/MyAccount/Desktop/deployment/macos/./tmpjpackage/ config / cpl.plist, --scripts, /Users/MyAccount/Desktop/deployment/macos/./tmpjpackage/config/scripts, /Users/MyAccount/Desktop/deployment/macos/./tmpjpackage/packages/Product Name-app.pkg] pkgbuild: Reading components from /Users/MyAccount/Desktop/deployment/macos/./tmpjpackage/config/cpl.plist
pkgbuild: Adding component at Product Name.app
pkgbuild: Adding top-level preinstall script
pkgbuild: Adding top-level postinstall script
pkgbuild: Wrote package to /Users/MyAccount/Desktop/deployment/macos/./tmpjpackage/packages/Product Name-app.pkg Running [productbuild, --resources, /Users/MyAccount/Desktop/deployment/macos/./tmpjpackage/config, --distribution, /Users/MyAccount/Desktop/deployment/macos/./tmpjpackage/config/distribution. dist, --package-path, /Users/MyAccount/Desktop/deployment/macos/./tmpjpackage/packages, /Users/MyAccount/Desktop/deployment/macos/./garbage/Product Name-4.3.1.pkg ] *productbuild: warning: No package found for distribution URL "file: ///Users/MyAccount/Desktop/deployment/macos/tmpjpackage/config/Product+Name-app.pkg"* productbuilder: Wrote product to /Users/MyAccount/Desktop/deployment/macos/./garbage/Product Name-4.3.1.pkg
Succeeded in building PKG Installer bundle.
Kept working directory for debug: /Users/MyAccount/Desktop/deployment/macos/./tmpjpackage.

The problem is that the pkg generated is not in the right place. See bold line.


I hope I'm not disturbing you.

Thanks in advance.

cordially

Reply via email to