--- old/src/jdk.jpackage/share/classes/jdk/jpackage/internal/resources/HelpResources_zh_CN.properties 2019-03-06 15:26:50.549823600 -0500 +++ new/src/jdk.jpackage/share/classes/jdk/jpackage/internal/resources/HelpResources_zh_CN.properties 2019-03-06 15:26:49.504610200 -0500 @@ -35,27 +35,24 @@ Sample usages:\n\ --------------\n\ \ Generate a modular application image:\n\ -\ jpackage create-image --output outputdir --name AppName \\\n\ -\ --main-class package.ClassName --module moduleName -p modulePath\n\ -\ jpackage create-image --o outputdir -n AppName \\\n\ -\ -c package.ClassName -m moduleName -p modulePath\n\ +\ jpackage create-image -o outputdir -n name \\\n\ +\ -m moduleName/className -p modulePath\n\ \ Generate a non-modular application image:\n\ -\ jpackage create-image --input inputdir --output outputdir \\\n\ -\ --name AppName --main-class package.ClassName --main-jar MyJar.jar\n\ -\ jpackage create-image -i inputdir -o outputdir -n AppName \\\n\ -\ -c package.ClassName -j MyJar.jar\n\ +\ jpackage create-image -o outputdir -i inputdir -n name \\\n\ +\ --main-class className --main-jar MyJar.jar\n\ \ Generate an application installer:\n\ -\ jpackage create-installer -i inputdir -o outputdir \\\n\ -\ -n -c package.ClassName -j MyJar.jar\n\ +\ jpackage create-installer -o outputdir -n name \\\n\ +\ -m moduleName/className -p modulePath\n\ +\ jpackage create-installer -i inputdir -o outputdir -n name\\\n\ +\ --main-class package.ClassName --main-jar MyJar.jar\n\ \ jpackage create-installer -o outputdir -n \\\n\ -\ --app-image \n\ +\ --app-image [--installer-type ]\n\ \ Generate a Java runtime installer:\n\ -\ jpackage create-installer --runtime-installer\\\n\ -\ --name --output outputdir\n\ -\ jpackage create-installer --runtime-installer \\\n\ -\ -n -o outputdir --runtime-image \n\ +\ jpackage create-installer -o outputdir -n name\\\n\ +\ --runtime-image \n\ +\n\ +The following platform independent options are valid for all modes:\n\ \n\ -The following options are valid for all platforms:\n\ \ @ \n\ \ Read options and/or mode from a file \n\ \ --help -h \n\ @@ -63,111 +60,111 @@ \ option for the current platform to the output stream, and exit\n\ \ --version -v\n\ \ Print the product version to the output stream and exit\n\ +\ --name -n \n\ +\ Name of the application and/or installer\n\ +\ --app-version \n\ +\ Version of the application and/or installer\n\ \ --output -o \n\ \ Path where generated output file is placed\n\ \ (absolute path or relative to the current directory)\n\ +\ --verbose\n\ +\ Enables verbose output\n\ +\ --runtime-image \n\ +\ Path of the predefined runtime image that is used to build\n\ +\ an application image or runtime installer\n\ +\ (absolute path or relative to the current directory)\n\ +\ --temp-root \n\ +\ Path of a new or empty directory used to create temporary files\n\ +\ (absolute path or relative to the current directory)\n\ +\ If specified, the temp-root will not be removed upon the task\n\ +\ completion and must be removed manually\n\ +\ If not specified, a temporary directory will be created and\n\ +\ removed upon the task completion.\n\ +\ --copyright \n\ +\ Copyright for the application\n\ +\ --description \n\ +\ Description of the application\n\ +\ --vendor \n\ +\ Vendor of the application\n\ +\n\ +\The following platform independent options are valid in create-image mode:\n\ +\n\ +\Options for creating the Java application image:\n\ +\ --module-path -p ...\n\ +\ A {0} separated list of paths\n\ +\ Each path is either a directory of modules or the path to a\n\ +\ modular jar.\n\ +\ (each path is absolute or relative to the current directory)\n\ \ --input -i \n\ -\ Path of the input directory that contains the files to package\n\ +\ Path of the input directory that contains the files to be packaged\n\ \ (absolute path or relative to the current directory)\n\ \ --files -f [{0}...]\n\ \ A {0} separated list of files in the input dir to be packaged\n\ \ If omitted, all files in the input directory will be packaged.\n\ -\ --name -n \n\ -\ Name of the application\n\ -\ --main-jar -j
\n\ +\ --icon \n\ +\ Path of the icon of the application bundle\n\ +\ (absolute path or relative to the current directory)\n\ +\n\ +\Options for creating the Java application launcher(s):\n\ +\ --module -m [/
]\n\ +\ The main module (and optionally main class) of the application\n\ +\ This module must contain the main-class,\n\ +\ and be located on the module path.\n\ +\ --add-modules [,...]\n\ +\ A comma (",") separated list of modules to add.\n\ +\ --main-jar
\n\ \ The main JAR of the application; containing the main class\n\ \ (specified as a path relative to the input path)\n\ -\ --main-class -c \n\ +\ --main-class \n\ \ Qualified name of the application main class to execute\n\ -\ --installer-type \n\ -\ The type of the installer created in create-image mode\n\ -\ Valid values for "type" are "msi", "exe", "rpm", "deb", "dmg",\n\ -\ "pkg", and "pkg-app-store".\n\ -\ If this option is not specified (in create-installer mode),\n\ -\ all supported types of installable packages for the current\n\ -\ platform will be generated.\n\ -\ --runtime-installer \n\ -\ Generates a platform-specific installer for a Java runtime.\n\ -\ --app-version \n\ -\ Version of the application\n\ -\ --arguments -a
\n\ +\ --arguments
\n\ \ Command line arguments to pass to the main class if no command\n\ \ line arguments are given to the launcher\n\ -\ --icon \n\ -\ Path of the icon of the application bundle\n\ -\ (absolute path or relative to the current directory)\n\ -\ --identifier \n\ -\ Machine readable identifier of the application\n\ -\ The format must be a DNS name in reverse order,\n\ -\ such as com.example.myapplication.\n\ -\ --verbose\n\ -\ Enables verbose output\n\ -\ --strip-native-commands\n\ -\ Removes native executables from the custom run-time images\n\ \ --jvm-args \n\ \ Java arguments to pass to the virtual machine\n\ -\ --file-associations \n\ -\ Path to a Properties file that contains list of key, value pairs\n\ -\ (absolute path or relative to the current directory)\n\ -\ The keys "extension", "mime-type", "icon", and "description"\n\ -\ can be used to describe the association.\n\ -\ --secondary-launcher \n\ +\ --add-launcher \n\ \ Path to a Properties file that contains list of key, value pairs\n\ \ (absolute path or relative to the current directory)\n\ -\ The keys "name" (required), "version", "module", "class",\n\ -\ "icon", "arguments", "jvm-args", "win-menu",\n\ -\ "win-shortcut", and "win-console" can be used.\n\ +\ The keys "name" (required), "appVersion", "module", "add-modules",\n\ +\ "main-jar", "main-class", "icon", "arguments", "jvm-args",\n\ +\ and "win-console" can be used.\n\ \ These options are added to, or used to overwrite, the original\n\ -\ command line options when building the secondary launcher.\n\ -\ --build-root \n\ -\ Path of a new or empty directory used to create temporary files\n\ -\ (absolute path or relative to the current directory)\n\ -\ If not specified, a temporary directory will be created and\n\ -\ removed upon the task completion.\n\ -\ --runtime-image \n\ -\ Path of the predefined runtime image that is used to build\n\ -\ an application image and installable package\n\ -\ (absolute path or relative to the current directory)\n\ +\ command line options when building an additional launcher.\n\ +\n\ +\The following platform independent options are valid in create-installer mode:\n\ +\ --installer-type \n\ +\ The type of the installer to create\n\ +\ Valid values are: {1} \n\ +\ If this option is not specified (in create-installer mode) all\n\ +\ supported types of installable packages for the current\n\ +\ platform will be created.\n\ \ --app-image \n\ \ Location of the predefined application image that is used\n\ \ to build an installable package\n\ \ (absolute path or relative to the current directory)\n\ \ --install-dir \n\ \ Absolute path of the installation directory of the application\n\ -\ This option is ignored on Windows, use --win-dir-chooser to\n\ -\ provide user the ability to choose the installation directory.\n\ \ --license-file \n\ \ Path to the license file\n\ \ (absolute path or relative to the current directory)\n\ -\ --copyright \n\ -\ Copyright for the application\n\ -\ --description \n\ -\ Description of the application\n\ -\ --category \n\ -\ Category or group of the application\n\ -\ --vendor \n\ -\ Vendor of the application\n\ -\ --overwrite\n\ -\ Allow the recursive deletion of an existing application \n\ -\ output directory when creating an application image\n\ +\ --identifier \n\ +\ Machine readable identifier of the application\n\ +\ The format must be a DNS name in reverse order,\n\ +\ such as com.example.myapplication.\n\ +\ --file-associations \n\ +\ Path to a Properties file that contains list of key, value pairs\n\ +\ (absolute path or relative to the current directory)\n\ +\ The keys "extension", "mime-type", "icon", and "description"\n\ +\ can be used to describe the association.\n\ \ --resource-dir \n\ \ Path to override jpackage resources\n\ \ Icons, template files, and other resources of jpackage can be\n\ \ over-ridden by adding replacement resources to this directory.\n\ \ (absolute path or relative to the current directory)\n\ -\n\ -Modular options:\n\ -\ --module -m \n\ -\ Main module of the application\n\ -\ This module must contain the main-class,\n\ -\ and be located on the module path.\n\ -\ --module-path -p \n\ -\ Path jlink looks in for modules when packaging the Java Runtime\n\ -\ (absolute path or relative to the current directory)\n\ -\ --add-modules [,...]\n\ -\ A comma (",") separated list of modules to add.\n\ -MSG_Help_mac=\nThe following options are valid for Mac OS X platforms:\n\ +MSG_Help_mac=The following options are valid for Mac OS X platforms:\n\ +\n\ +\Mac OS X create-installer options:\n\ \ --mac-sign\n\ \ Request that the bundle be signed\n\ \ --mac-bundle-name \n\ @@ -181,13 +178,6 @@ \ (and on the Mac App Store)\n\ \ May only use alphanumeric (A-Z,a-z,0-9), hyphen (-),\n\ \ and period (.) characters.\n\ -\ --mac-app-store-category \n\ -\ Mac App Store Categories\n\ -\ Note that the key is the string shown to\n\ -\ the user and the value is the ID of the category.\n\ -\ --mac-app-store-entitlements \n\ -\ Path of a custom mac app store entitlements file\n\ -\ (absolute path or relative to the current directory)\n\ \ --mac-bundle-signing-prefix \n\ \ When signing the application bundle, this value is prefixed to all\n\ \ components that need to be signed that don't have\n\ @@ -200,7 +190,9 @@ \ (absolute path or relative to the current directory)\n\ \ If not specified, the standard keychains are used.\n\ -MSG_Help_linux=\nThe following options are valid for Linux platforms:\n\ +MSG_Help_linux=The following options are valid for Linux platforms:\n\ +\n\ +\Linux create-installer options:\n\ \ --linux-bundle-name \n\ \ Name for Linux bundle, defaults to the application name\n\ \ --linux-package-deps\n\ @@ -209,8 +201,17 @@ \ Type of the license ("License: " of the RPM .spec)\n\ \ --linux-deb-maintainer \n\ \ Maintainer for .deb bundle\n\ +\ --linux-menu-group \n\ +\ Menu group this application is placed in\n\ -MSG_Help_win=\nThe following options are valid for Windows platforms:\n\ +MSG_Help_win=The following options are valid for Windows platforms:\n\ +\n\ +\Windows create-image options:\n\ +\ --win-console\n\ +\ Creates a console launcher for the application, should be\n\ +\ specified for application which requires console interactions\n\ +\n\ +\Windows create-installer options:\n\ \ --win-menu\n\ \ Adds the application to the system menu\n\ \ --win-menu-group \n\ @@ -228,9 +229,6 @@ \ UUID associated with upgrades for this package\n\ \ --win-shortcut\n\ \ Creates a desktop shortcut for the application\n\ -\ --win-console\n\ -\ Creates a console launcher for the application, should be\n\ -\ specified for application which requires console interactions\n\ MSG_Help_no_args=Usage: jpackage \n\ \Use jpackage --help (or -h) for a list of possible options\