modules/fxpackager/src/main/java/com/oracle/tools/packager/mac/MacAppStoreBundler.java

Print this page
rev 7440 : RT-37832: [packager] Mac App Store Bundler fails to strip jfxmedia.dylib and strips Info.plist
Summary: Update the JDK Parameters prior to validating the app image bundler.  This will get the right rules in place before they are evaluated by the child app image bundler's validation.

@@ -323,10 +323,14 @@
 
             // hdiutil is always available so there's no need to test for availability.
             //run basic validation to ensure requirements are met
 
             //run basic validation to ensure requirements are met
+
+            //we need to change the jdk/jre stripping to strip gstreamer
+            params.put(MacAppBundler.MAC_JDK_RULES.getID(), MAC_APP_STORE_JDK_RULES);
+
             //we are not interested in return code, only possible exception
             validateAppImageAndBundeler(params);
 
             // make sure we have settings for signatures
             if (MAC_APP_STORE_APP_SIGNING_KEY.fetchFrom(params) == null) {