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

APP_NAME-post-image.sh crash with MacPkgBundler

XMLWordPrintable

        When add APP_NAME-post-image.sh, we can't generate pkg.

        Crash:
        Bundler PKG Installer failed because of java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key message.running-script

        "message.running-script" key is in MacDmgBundler.properties but not in MacPkgBundler.properties

        Test case:

        1. add empty script in package/macosx/APP_NAME-post-image.sh
        2. run javapackager -deploy -native pkg -v ...
        3. execution failed: Bundler PKG Installer failed because of java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key message.running-script

        I think that all jdk versions are concerned. I use jdk 1.8.0_40

              shemnon Danno Ferrin (Inactive)
              duke J. Duke
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported: