< prev index next >

src/jdk.incubator.jpackage/share/classes/jdk/incubator/jpackage/internal/resources/HelpResources_zh_CN.properties

Print this page

        

*** 22,275 **** # or visit www.oracle.com if you need additional information or have any # questions. # # ! MSG_Help=Usage: jpackage <options>\n\ ! \n\ ! Sample usages:\n\ ! --------------\n\ ! \ Generate an application package suitable for the host system:\n\ ! \ For a modular application:\n\ ! \ jpackage -n name -p modulePath -m moduleName/className\n\ ! \ For a non-modular application:\n\ ! \ jpackage -i inputDir -n name \\\n\ ! \ --main-class className --main-jar myJar.jar\n\ ! \ From a pre-built application image:\n\ ! \ jpackage -n name --app-image appImageDir\n\ ! \ Generate an application image:\n\ ! \ For a modular application:\n\ ! \ jpackage --type app-image -n name -p modulePath \\\n\ ! \ -m moduleName/className\n\ ! \ For a non-modular application:\n\ ! \ jpackage --type app-image -i inputDir -n name \\\n\ ! \ --main-class className --main-jar myJar.jar\n\ ! \ To provide your own options to jlink, run jlink separately:\n\ ! \ jlink --output appRuntimeImage -p modulePath -m moduleName \\\n\ ! \ --no-header-files [<additional jlink options>...]\n\ ! \ jpackage --type app-image -n name \\\n\ ! \ -m moduleName/className --runtime-image appRuntimeImage\n\ ! \ Generate a Java runtime package:\n\ ! \ jpackage -n name --runtime-image <runtime-image>\n\ ! \n\ ! Generic Options:\n\ ! \ @<filename> \n\ ! \ Read options and/or mode from a file \n\ ! \ This option can be used multiple times.\n\ ! \ --type -t <type> \n\ ! \ The type of package to create\n\ ! \ Valid values are: {1} \n\ ! \ If this option is not specified a platform dependent\n\ ! \ default type will be created.\n\ ! \ --app-version <version>\n\ ! \ Version of the application and/or package\n\ ! \ --copyright <copyright string>\n\ ! \ Copyright for the application\n\ ! \ --description <description string>\n\ ! \ Description of the application\n\ ! \ --help -h \n\ ! \ Print the usage text with a list and description of each valid\n\ ! \ option for the current platform to the output stream, and exit\n\ ! \ --name -n <name>\n\ ! \ Name of the application and/or package\n\ ! \ --dest -d <destination path>\n\ ! \ Path where generated output file is placed\n\ ! \ Defaults to the current working directory.\n\ ! \ (absolute path or relative to the current directory)\n\ ! \ --temp <file path>\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 dir 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\ ! \ --vendor <vendor string>\n\ ! \ Vendor of the application\n\ ! \ --verbose\n\ ! \ Enables verbose output\n\ ! \ --version\n\ ! \ Print the product version to the output stream and exit\n\ ! \n\ ! \Options for creating the runtime image:\n\ ! \ --add-modules <module name>[,<module name>...]\n\ ! \ A comma (",") separated list of modules to add.\n\ ! \ This module list, along with the main module (if specified)\n\ ! \ will be passed to jlink as the --add-module argument.\n\ ! \ if not specified, either just the main module (if --module is\n\ ! \ specified), or the default set of modules (if --main-jar is \n\ ! \ specified) are used.\n\ ! \ This option can be used multiple times.\n\ ! \ --module-path -p <module path>...\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\ ! \ This option can be used multiple times.\n\ ! \ --bind-services \n\ ! \ Pass on --bind-services option to jlink (which will link in \n\ ! \ service provider modules and their dependences) \n\ ! \ --runtime-image <file path>\n\ ! \ Path of the predefined runtime image that will be copied into\n\ ! \ the application image\n\ ! \ (absolute path or relative to the current directory)\n\ ! \ If --runtime-image is not specified, jpackage will run jlink to\n\ ! \ create the runtime image using options:\n\ ! \ --strip-debug, --no-header-files, --no-man-pages, and\n\ ! \ --strip-native-commands.\n\ ! \n\ ! \Options for creating the application image:\n\ ! \ --icon <icon file path>\n\ ! \ Path of the icon of the application package\n\ ! \ (absolute path or relative to the current directory)\n\ ! \ --input -i <input path>\n\ ! \ Path of the input directory that contains the files to be packaged\n\ ! \ (absolute path or relative to the current directory)\n\ ! \ All files in the input directory will be packaged into the\n\ ! \ application image.\n\ ! \n\ ! \Options for creating the application launcher(s):\n\ ! \ --add-launcher <launcher name>=<file path>\n\ ! \ Name of launcher, and a path to a Properties file that contains\n\ ! \ a list of key, value pairs\n\ ! \ (absolute path or relative to the current directory)\n\ ! \ The keys "module", "main-jar", "main-class",\n\ ! \ "arguments", "java-options", "app-version", "icon", and\n\ ! \ "win-console" can be used.\n\ ! \ These options are added to, or used to overwrite, the original\n\ ! \ command line options to build an additional alternative launcher.\n\ ! \ The main application launcher will be built from the command line\n\ ! \ options. Additional alternative launchers can be built using\n\ ! \ this option, and this option can be used multiple times to\n\ ! \ build multiple additional launchers. \n\ ! \ --arguments <main class arguments>\n\ ! \ Command line arguments to pass to the main class if no command\n\ ! \ line arguments are given to the launcher\n\ ! \ This option can be used multiple times.\n\ ! \ --java-options <java options>\n\ ! \ Options to pass to the Java runtime\n\ ! \ This option can be used multiple times.\n\ ! \ --main-class <class name>\n\ ! \ Qualified name of the application main class to execute\n\ ! \ This option can only be used if --main-jar is specified.\n\ ! \ --main-jar <main jar file>\n\ ! \ The main JAR of the application; containing the main class\n\ ! \ (specified as a path relative to the input path)\n\ ! \ Either --module or --main-jar option can be specified but not\n\ ! \ both.\n\ ! \ --module -m <module name>[/<main class>]\n\ ! \ The main module (and optionally main class) of the application\n\ ! \ This module must be located on the module path.\n\ ! \ When this option is specified, the main module will be linked\n\ ! \ in the Java runtime image. Either --module or --main-jar\n\ ! \ option can be specified but not both.\n\ ! {2}\n\ ! \Options for creating the application package:\n\ ! \ --app-image <file path>\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\ ! \ --file-associations <file path>\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\ ! \ This option can be used multiple times.\n\ ! \ --install-dir <file path>\n\ ! \ {4}\ ! \ --license-file <file path>\n\ ! \ Path to the license file\n\ ! \ (absolute path or relative to the current directory)\n\ ! \ --resource-dir <path>\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\ ! \ --runtime-image <file-path>\n\ ! \ Path of the predefined runtime image to install\n\ ! \ (absolute path or relative to the current directory)\n\ ! \ Option is required when creating a runtime package.\n\ ! \n\ ! \Platform dependent options for creating the application package:\n\ ! {3} ! ! MSG_Help_win_launcher=\ ! \n\ ! \Platform dependent option for creating the application launcher:\n\ ! \ --win-console\n\ ! \ Creates a console launcher for the application, should be\n\ ! \ specified for application which requires console interactions\n\ ! ! MSG_Help_win_install=\ ! \ --win-dir-chooser\n\ ! \ Adds a dialog to enable the user to choose a directory in which\n\ ! \ the product is installed\n\ ! \ --win-menu\n\ ! \ Adds the application to the system menu\n\ ! \ --win-menu-group <menu group name>\n\ ! \ Start Menu group this application is placed in\n\ ! \ --win-per-user-install\n\ ! \ Request to perform an install on a per-user basis\n\ ! \ --win-shortcut\n\ ! \ Creates a desktop shortcut for the application\n\ ! \ --win-upgrade-uuid <id string>\n\ ! \ UUID associated with upgrades for this package\n\ ! ! MSG_Help_win_install_dir=\ ! \Relative sub-path under the default installation location\n\ ! ! MSG_Help_mac_launcher=\ ! \ --mac-package-identifier <ID string>\n\ ! \ An identifier that uniquely identifies the application for macOS\n\ ! \ Defaults to the main class name.\n\ ! \ May only use alphanumeric (A-Z,a-z,0-9), hyphen (-),\n\ ! \ and period (.) characters.\n\ ! \ --mac-package-name <name string>\n\ ! \ Name of the application as it appears in the Menu Bar\n\ ! \ This can be different from the application name.\n\ ! \ This name must be less than 16 characters long and be suitable for\n\ ! \ displaying in the menu bar and the application Info window.\n\ ! \ Defaults to the application name.\n\ ! \ --mac-package-signing-prefix <prefix string>\n\ ! \ When signing the application package, this value is prefixed\n\ ! \ to all components that need to be signed that don't have\n\ ! \ an existing package identifier.\n\ ! \ --mac-sign\n\ ! \ Request that the package be signed\n\ ! \ --mac-signing-keychain <file path>\n\ ! \ Path of the keychain to search for the signing identity\n\ ! \ (absolute path or relative to the current directory).\n\ ! \ If not specified, the standard keychains are used.\n\ ! \ --mac-signing-key-user-name <team name>\n\ ! \ Team name portion in Apple signing identities' names.\n\ ! \ For example "Developer ID Application: "\n\ ! ! MSG_Help_linux_install=\ ! \ --linux-package-name <package name>\n\ ! \ Name for Linux package, defaults to the application name\n\ ! \ --linux-deb-maintainer <email address>\n\ ! \ Maintainer for .deb package\n\ ! \ --linux-menu-group <menu-group-name>\n\ ! \ Menu group this application is placed in\n\ ! \ --linux-package-deps\n\ ! \ Required packages or capabilities for the application\n\ ! \ --linux-rpm-license-type <type string>\n\ ! \ Type of the license ("License: <value>" of the RPM .spec)\n\ ! \ --linux-app-release <release value>\n\ ! \ Release value of the RPM <name>.spec file or \n\ ! \ Debian revision value of the DEB control file.\n\ ! \ --linux-app-category <category value>\n\ ! \ Group value of the RPM <name>.spec file or \n\ ! \ Section value of DEB control file.\n\ ! \ --linux-shortcut\n\ ! \ Creates a shortcut for the application\n\ ! ! MSG_Help_mac_linux_install_dir=\ ! \Absolute path of the installation directory of the application\n\ ! ! MSG_Help_default_install_dir=\ ! \Absolute path of the installation directory of the application on OS X\n\ ! \ or Linux. Relative sub-path of the installation location of\n\ ! \ the application such as "Program Files" or "AppData" on Windows.\n\ ! ! MSG_Help_no_args=Usage: jpackage <options>\n\ ! \Use jpackage --help (or -h) for a list of possible options\ ! --- 22,39 ---- # or visit www.oracle.com if you need additional information or have any # questions. # # ! MSG_Help=用法:jpackage <options>\n\n示例用法:\n--------------\n 生成适合主机系统的应用程序包:\n 对于模块化应用程序:\n jpackage -n name -p modulePath -m moduleName/className\n 对于非模块化应用程序:\n jpackage -i inputDir -n name \\\n --main-class className --main-jar myJar.jar\n 从预构建的应用程序映像:\n jpackage -n name --app-image appImageDir\n 生成应用程序映像:\n 对于模块化应用程序:\n jpackage --type app-image -n name -p modulePath \\\n -m moduleName/className\n 对于非模块化应用程序:\n jpackage --type app-image -i inputDir -n name \\\n --main-class className --main-jar myJar.jar\n 要为 jlink 提供您自己的选项,请单独运行 jlink:\n jlink --output appRuntimeImage -p modulePath -m moduleName \\\n --no-header-files [<additional jlink options>...]\n jpackage --type app-image -n name \\\n -m moduleName/className --runtime-image appRuntimeImage\n 生成 Java 运行时程序包:\n jpackage -n name --runtime-image <runtime-image>\n\n一般选项:\n @<filename> \n 从文件读取选项和/或模式 \n 可以多次使用此选项。\n --type -t <type> \n 要创建的程序包的类型\n 有效值为:{1} \n 如果未指定此选项,则将创建与平台相关的\n 默认类型。\n --app-version <version>\n 应用程序和/或程序包的版本\n --copyright <copyright string>\n 应用程序的版权\n --description <description string>\n 应用程序的说明\n --help -h \n 将用法文本输出到输出流并退出,用法文本中包含\n 适用于当前平台的每个有效选项的列表和说明\n --name -n <name>\n 应用程序和/或程序包的名称\n --dest -d <destination path>\n 用来放置所生成的输出文件的路径\n 默认为当前的工作目录。\n (绝对路径或相对于当前目录的路径)\n --temp <file path>\n 用来创建临时文件的新目录或空白目录的路径\n (绝对路径或相对于当前目录的路径)\n 如果指定,则在任务完成时将不删除临时目录,\n 必须手动删除临时目录\n 如果未指定,则将创建一个临时目录,\n 并在任务完成时删除该临时目录。\n --vendor <vendor string>\n 应用程序的供应商\n --verbose\n 启用详细的输出\n --version\n \ ! 将产品版本输出到输出流并退出\n\n用来创建运行时映像的选项:\n --add-modules <模块名称>[,<模块名称>...]\n 要添加的模块的逗号 (",") 分隔列表。\n 此模块列表连同主模块(如果指定)\n 将作为 --add-module 参数传递到 jlink。\n 如果未指定,则仅使用主模块(如果指定了 --module),\n 或者使用默认的模块集(如果指定了 \n --main-jar)。\n 可以多次使用此选项。\n --module-path -p <module path>...\n 路径的 {0} 分隔列表\n 每个路径要么是模块的目录,要么是\n 模块 jar 的路径。\n (每个路径可以是绝对路径,也可以是相对于当前目录的路径)\n 可以多次使用此选项。\n --bind-services \n 将 --bind-services 选项传递到 jlink(将在服务 \n 提供商模块及其被依赖对象中进行链接) \n --runtime-image <file path>\n 将复制到应用程序映像的预定义\n 运行时映像的路径\n (绝对路径或相对于当前目录的路径)\n 如果未指定 --runtime-image,jpackage 将运行 jlink 以\n 使用如下选项创建运行时映像:\n --strip-debug、--no-header-files、--no-man-pages 和 \n --strip-native-commands。\n\n用来创建应用程序映像的选项:\n --icon <icon file path>\n 应用程序包图标的路径\n (绝对路径或相对于当前目录的路径)\n --input -i <input path>\n 包含要打包的文件的输入目录的路径\n (绝对路径或相对于当前目录的路径)\n 输入目录中的所有文件将打包到\n 应用程序映像中。\n\n用来创建应用程序启动程序的选项:\n --add-launcher <launcher name>=<file path>\n 启动程序的名称和包含关键字-值对列表的\n 属性文件的路径\n (绝对路径或相对于当前目录的路径)\n 可以使用关键字 "module"、"main-jar"、"main-class"、\n "arguments"、"java-options"、"app-version"、"icon" 和 \n "win-console"。\n 这些选项将添加到原始命令行选项中或者用来覆盖\n 原始命令行选项,以构建额外的替代启动程序。\n \ ! 将从命令行选项构建主应用程序启动程序。\n 可以使用此选项构建额外的替代启动程序,\n 可以多次使用此选项来构建\n 多个额外的启动程序。 \n --arguments <main class arguments>\n 在没有为启动程序提供命令行参数时,\n 要传递到主类的命令行参数\n 可以多次使用此选项。\n --java-options <java options>\n 要传递到 Java 运行时的选项\n 可以多次使用此选项。\n --main-class <class name>\n 要执行的应用程序主类的限定名称\n 只有在指定了 --main-jar 时才能使用此选项。\n --main-jar <main jar file>\n 应用程序的主 JAR;包含主类\n (指定为相对于输入路径的路径)\n 可以指定 --module 或 --main-jar 选项,但是不能同时指定\n 这两个选项。\n --module -m <module name>[/<main class>]\n 应用程序的主模块(以及可选的主类)\n 此模块必须位于模块路径中。\n 如果指定了此选项,则将在 Java 运行时映像中\n 链接主模块。可以指定 --module 或 --main-jar 选项,\n 但是不能同时指定这两个选项。\n{2}\n用来创建应用程序包的选项:\n --app-image <file path>\n 用来构建可安装程序包的\n 预定义应用程序映像的位置\n (绝对路径或相对于当前目录的路径)\n --file-associations <file path>\n 包含关键字-值对列表的属性文件的路径\n (绝对路径或相对于当前目录的路径)\n 可以使用关键字 "extension"、"mime-type"、"icon" 和 "description" \n 来描述此关联。\n 可以多次使用此选项。\n --install-dir <file path>\n {4} --license-file <file path>\n 许可证文件的路径\n (绝对路径或相对于当前目录的路径)\n --resource-dir <path>\n 覆盖 jpackage 资源的路径\n 可以通过向该目录中添加替代资源来覆盖 jpackage 的\n 图标、模板文件和其他资源。\n (绝对路径或相对于当前目录的路径)\n --runtime-image <file-path>\n 要安装的预定义运行时映像的路径\n (绝对路径或相对于当前目录的路径)\n \ ! 在创建运行时程序包时需要使用选项。\n\n用来创建应用程序包的与平台相关的选项:\n{3} ! ! MSG_Help_win_launcher=\n用来创建应用程序启动程序的与平台相关的选项:\n --win-console\n 为应用程序创建控制台启动程序,应当为\n 需要控制台交互的应用程序指定\n ! MSG_Help_win_install=\ --win-dir-chooser\n 添加一个对话框以允许用户选择\n 产品的安装目录\n --win-menu\n 将该应用程序添加到系统菜单中\n --win-menu-group <menu group name>\n 启动该应用程序所在的菜单组\n --win-per-user-install\n 请求基于每个用户执行安装\n --win-shortcut\n 为应用程序创建桌面快捷方式\n --win-upgrade-uuid <id string>\n 与此程序包升级相关联的 UUID\n ! MSG_Help_win_install_dir=默认安装位置下面的相对子路径\n ! MSG_Help_mac_launcher=\ --mac-package-identifier <ID string>\n 用来唯一地标识 macOS 应用程序的标识符\n 默认为主类名称。\n 只能使用字母数字(A-Z、a-z、0-9)、连字符 (-) 和\n 句点 (.) 字符。\n --mac-package-name <name string>\n 出现在菜单栏中的应用程序名称\n 这可以与应用程序名称不同。\n 此名称的长度必须小于 16 个字符,适合\n 显示在菜单栏中和应用程序“信息”窗口中。\n 默认为应用程序名称。\n --mac-package-signing-prefix <prefix string>\n 在对应用程序包签名时,会在所有需要签名\n 但当前没有程序包标识符的组件的\n 前面加上此值。\n --mac-sign\n 请求对程序包进行签名\n --mac-signing-keychain <file path>\n 要用来搜索签名身份的密钥链的路径\n (绝对路径或相对于当前目录的路径)。\n 如果未指定,则使用标准的密钥链。\n --mac-signing-key-user-name <team name>\n Apple 签名身份名称中的团队名称选项。\n 例如,"Developer ID Application: "\n ! MSG_Help_linux_install=\ --linux-package-name <package name>\n Linux 程序包的名称,默认为应用程序名称\n --linux-deb-maintainer <email address>\n .deb 程序包的维护程序\n --linux-menu-group <menu-group-name>\n 此应用程序所在的菜单组\n --linux-package-deps\n 应用程序所需的程序包或功能\n --linux-rpm-license-type <type string>\n 许可证的类型(RPM .spec 的 "License: <value>")\n --linux-app-release <release value>\n RPM <name>.spec 文件的发行版值或\n DEB 控制文件的 Debian 修订版值。\n --linux-app-category <category value>\n RPM <name>.spec 文件的组值或\n DEB 控制文件的区域值。\n --linux-shortcut\n 为应用程序创建快捷方式\n ! MSG_Help_mac_linux_install_dir=应用程序安装目录的绝对路径\n ! MSG_Help_default_install_dir=OS X 或 Linux 上应用程序安装目录的绝对路径。\n Windows 上应用程序安装位置的相对子路径\n (如 "Program Files" 或 "AppData")。\n ! MSG_Help_no_args=用法:jpackage <options>\n使用 jpackage --help(或 -h)可获取可能选项的列表
< prev index next >