< prev index next >

src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacPkgBundler.java

Print this page

        

@@ -61,27 +61,23 @@
     private static final String TEMPLATE_POSTINSTALL_SCRIPT =
             "postinstall.template";
 
     private static final BundlerParamInfo<File> PACKAGES_ROOT =
             new StandardBundlerParam<>(
-            I18N.getString("param.packages-root.name"),
-            I18N.getString("param.packages-root.description"),
             "mac.pkg.packagesRoot",
             File.class,
             params -> {
                 File packagesRoot =
-                        new File(BUILD_ROOT.fetchFrom(params), "packages");
+                        new File(TEMP_ROOT.fetchFrom(params), "packages");
                 packagesRoot.mkdirs();
                 return packagesRoot;
             },
             (s, p) -> new File(s));
 
 
     protected final BundlerParamInfo<File> SCRIPTS_DIR =
             new StandardBundlerParam<>(
-            I18N.getString("param.scripts-dir.name"),
-            I18N.getString("param.scripts-dir.description"),
             "mac.pkg.scriptsDir",
             File.class,
             params -> {
                 File scriptsDir =
                         new File(CONFIG_ROOT.fetchFrom(params), "scripts");

@@ -91,12 +87,10 @@
             (s, p) -> new File(s));
 
     public static final
             BundlerParamInfo<String> DEVELOPER_ID_INSTALLER_SIGNING_KEY =
             new StandardBundlerParam<>(
-            I18N.getString("param.signing-key-developer-id-installer.name"),
-            I18N.getString(
             "param.signing-key-developer-id-installer.description"),
             "mac.signing-key-developer-id-installer",
             String.class,
             params -> {
                     String result = MacBaseInstallerBundler.findKey(

@@ -119,12 +113,10 @@
                 },
             (s, p) -> s);
 
     public static final BundlerParamInfo<String> MAC_INSTALL_DIR =
             new StandardBundlerParam<>(
-            I18N.getString("param.mac-install-dir.name"),
-            I18N.getString("param.mac-install-dir.description"),
             "mac-install-dir",
             String.class,
              params -> {
                  String dir = INSTALL_DIR.fetchFrom(params);
                  return (dir != null) ? dir : "/Applications";

@@ -132,12 +124,10 @@
             (s, p) -> s
     );
 
     public static final BundlerParamInfo<String> INSTALLER_SUFFIX =
             new StandardBundlerParam<> (
-            I18N.getString("param.installer-suffix.name"),
-            I18N.getString("param.installer-suffix.description"),
             "mac.pkg.installerName.suffix",
             String.class,
             params -> "",
             (s, p) -> s);
 
< prev index next >