changeset 6853:ae1408a0cf50

RT-36739: Mac App bundler ignores classpath Summary: inside the plist it is expecting space delimitation, which is counter to the classical classpath on a CLI but consistent with the manifest entry. So if we see colons (the mac path separator) we will replace it with space during packaging so the binary doesn't have to change.
author shemnon
date Tue, 22 Apr 2014 11:36:28 -0600
parents aae9bf983254
children cc8a5e12ce20
files modules/fxpackager/src/main/java/com/sun/javafx/tools/packager/bundlers/MacAppBundler.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/modules/fxpackager/src/main/java/com/sun/javafx/tools/packager/bundlers/MacAppBundler.java	Tue Apr 22 21:35:04 2014 +0400
+++ b/modules/fxpackager/src/main/java/com/sun/javafx/tools/packager/bundlers/MacAppBundler.java	Tue Apr 22 11:36:28 2014 -0600
@@ -575,7 +575,7 @@
         data.put("DEPLOY_LAUNCHER_CLASS", MAIN_CLASS.fetchFrom(params));
 //        }
         // This will be an empty string for correctly packaged JavaFX apps
-        data.put("DEPLOY_APP_CLASSPATH", MAIN_JAR_CLASSPATH.fetchFrom(params));
+        data.put("DEPLOY_APP_CLASSPATH", MAIN_JAR_CLASSPATH.fetchFrom(params).replace(":", " "));
 
         //TODO: Add remainder of the classpath