src/jdk.jpackage/share/classes/jdk/jpackage/internal/resources/HelpResources_zh_CN.properties
author herrick
Wed, 06 Feb 2019 09:00:28 -0500
branchJDK-8200758-branch
changeset 57150 fa68c2ab636d
parent 57106 ea870b9ce89a
child 57180 1d6f8a7c6d5a
permissions -rw-r--r--
8217894: jpackage CLI syntax changes Reviewed-by: almatvee
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
56986
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
     1
#
57106
ea870b9ce89a 8216492: Update copyright of all new jpackage fils to 2019
kcr
parents: 57099
diff changeset
     2
# Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved.
56986
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
     4
#
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
     7
# published by the Free Software Foundation.  Oracle designates this
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
     8
# particular file as subject to the "Classpath" exception as provided
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
     9
# by Oracle in the LICENSE file that accompanied this code.
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
    10
#
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
    11
# This code is distributed in the hope that it will be useful, but WITHOUT
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
    12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
    13
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
    14
# version 2 for more details (a copy is included in the LICENSE file that
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
    15
# accompanied this code).
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
    16
#
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
    17
# You should have received a copy of the GNU General Public License version
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
    18
# 2 along with this work; if not, write to the Free Software Foundation,
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
    19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
    20
#
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
    21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
    22
# or visit www.oracle.com if you need additional information or have any
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
    23
# questions.
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
    24
#
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
    25
#
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
    26
57039
98d3963b0b7b 8214051: rename jpackager tool to jpackage
herrick
parents: 57025
diff changeset
    27
MSG_Help_common=Usage: jpackage <mode> <options>\n\
56986
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
    28
\n\
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
    29
where mode is one of: \n\
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
    30
\  create-image\n\
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
    31
\          Generates a platform-specific application image.\n\
57150
fa68c2ab636d 8217894: jpackage CLI syntax changes
herrick
parents: 57106
diff changeset
    32
\  create-installer\n\
56986
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
    33
\          Generates a platform-specific installer for the application.\n\
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
    34
\          \n\
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
    35
Sample usages:\n\
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
    36
--------------\n\
57150
fa68c2ab636d 8217894: jpackage CLI syntax changes
herrick
parents: 57106
diff changeset
    37
\    Generate a modular application image:\n\
fa68c2ab636d 8217894: jpackage CLI syntax changes
herrick
parents: 57106
diff changeset
    38
\        jpackage create-image --output outputdir --name AppName \\\n\
fa68c2ab636d 8217894: jpackage CLI syntax changes
herrick
parents: 57106
diff changeset
    39
\            --main-class package.ClassName -module moduleName -p modulePath\n\
fa68c2ab636d 8217894: jpackage CLI syntax changes
herrick
parents: 57106
diff changeset
    40
\        jpackage create-image --o outputdir -n AppName \\\n\
fa68c2ab636d 8217894: jpackage CLI syntax changes
herrick
parents: 57106
diff changeset
    41
\            -c package.ClassName -m moduleName -p modulePath\n\
fa68c2ab636d 8217894: jpackage CLI syntax changes
herrick
parents: 57106
diff changeset
    42
\    Generate a non-modular application image:\n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
    43
\        jpackage create-image --input inputdir --output outputdir \\\n\
57150
fa68c2ab636d 8217894: jpackage CLI syntax changes
herrick
parents: 57106
diff changeset
    44
\            --name AppName --main-class package.ClassName --main-jar MyJar.jar\n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
    45
\        jpackage create-image -i inputdir -o outputdir -n AppName \\\n\
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
    46
\            -c package.ClassName -j MyJar.jar\n\
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
    47
\    Generate an application installer:\n\
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
    48
\        jpackage create-installer -i inputdir -o outputdir \\\n\
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
    49
\            -n "Installer Name" -c package.ClassName -j MyJar.jar\n\
57078
db003bfc5bf7 JDK-8215453: remove unused BundlerParams and fix misleading messages
herrick
parents: 57071
diff changeset
    50
\        jpackage create-installer -o outputdir -n "Installer Name" \\\n\
57150
fa68c2ab636d 8217894: jpackage CLI syntax changes
herrick
parents: 57106
diff changeset
    51
\            --app-image <app image dir>\n\
fa68c2ab636d 8217894: jpackage CLI syntax changes
herrick
parents: 57106
diff changeset
    52
\    Generate a Java runtime installer:\n\
fa68c2ab636d 8217894: jpackage CLI syntax changes
herrick
parents: 57106
diff changeset
    53
\        jpackage create-installer --runtime-installer -name <jre-name>\\\n\
fa68c2ab636d 8217894: jpackage CLI syntax changes
herrick
parents: 57106
diff changeset
    54
\            --output outputdir\n\
fa68c2ab636d 8217894: jpackage CLI syntax changes
herrick
parents: 57106
diff changeset
    55
\        jpackage create-jre-installer --runtime-installer \\\n\
fa68c2ab636d 8217894: jpackage CLI syntax changes
herrick
parents: 57106
diff changeset
    56
\            -n <jre-name> -o outputdir --runtime-image <path>\n\
56986
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
    57
\n\
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
    58
The following options are valid for all platforms:\n\
57060
5103d6d2e796 8213385: jpackager Command-Line Argument File.
herrick
parents: 57059
diff changeset
    59
\  @<filename> \n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
    60
\          Read options and/or mode from a file \n\
56986
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
    61
\  --help -h \n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
    62
\          Print the usage text with a list and description of each valid\n\
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
    63
\          option for the current platform to the output stream, and exit\n\
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
    64
\  --version -v\n\
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
    65
\          Print the product version to the output stream and exit\n\
57078
db003bfc5bf7 JDK-8215453: remove unused BundlerParams and fix misleading messages
herrick
parents: 57071
diff changeset
    66
\  --output -o <output path>\n\
db003bfc5bf7 JDK-8215453: remove unused BundlerParams and fix misleading messages
herrick
parents: 57071
diff changeset
    67
\          Path where generated output file is placed\n\
db003bfc5bf7 JDK-8215453: remove unused BundlerParams and fix misleading messages
herrick
parents: 57071
diff changeset
    68
\          (absolute path or relative to the current directory)\n\
db003bfc5bf7 JDK-8215453: remove unused BundlerParams and fix misleading messages
herrick
parents: 57071
diff changeset
    69
\  --input -i <input path>\n\
db003bfc5bf7 JDK-8215453: remove unused BundlerParams and fix misleading messages
herrick
parents: 57071
diff changeset
    70
\          Path of the input directory that contains the files to package\n\
db003bfc5bf7 JDK-8215453: remove unused BundlerParams and fix misleading messages
herrick
parents: 57071
diff changeset
    71
\          (absolute path or relative to the current directory)\n\
56986
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
    72
\  --files -f <input files>\n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
    73
\          A {0} separated list of files in the input dir to be packaged\n\
57025
bab8a5dae662 help text updates
herrick
parents: 57022
diff changeset
    74
\          If omitted, all files in the input directory will be packaged.\n\
56986
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
    75
\  --name -n <application name>\n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
    76
\          Name of the application\n\
57078
db003bfc5bf7 JDK-8215453: remove unused BundlerParams and fix misleading messages
herrick
parents: 57071
diff changeset
    77
\  --main-jar -j <main jar file>\n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
    78
\          The main JAR of the application\n\
57078
db003bfc5bf7 JDK-8215453: remove unused BundlerParams and fix misleading messages
herrick
parents: 57071
diff changeset
    79
\          (specified as a path relative to the input path)\n\
db003bfc5bf7 JDK-8215453: remove unused BundlerParams and fix misleading messages
herrick
parents: 57071
diff changeset
    80
\          This JAR should contain the main-class.\n\
57150
fa68c2ab636d 8217894: jpackage CLI syntax changes
herrick
parents: 57106
diff changeset
    81
\  --main-class -c <class name>\n\
fa68c2ab636d 8217894: jpackage CLI syntax changes
herrick
parents: 57106
diff changeset
    82
\          Qualified name of the application main class to execute\n\
fa68c2ab636d 8217894: jpackage CLI syntax changes
herrick
parents: 57106
diff changeset
    83
\  --installer-type <type> \n\
fa68c2ab636d 8217894: jpackage CLI syntax changes
herrick
parents: 57106
diff changeset
    84
\          Specifies the type of the installer created in create-image mode\n\
fa68c2ab636d 8217894: jpackage CLI syntax changes
herrick
parents: 57106
diff changeset
    85
\          Valid values for "type" are "msi", "exe", "rpm", "deb", "dmg",\n\
fa68c2ab636d 8217894: jpackage CLI syntax changes
herrick
parents: 57106
diff changeset
    86
\                           "pkg", and "pkg-app-store".\n\
fa68c2ab636d 8217894: jpackage CLI syntax changes
herrick
parents: 57106
diff changeset
    87
\          If this option is not specified (in create-installer mode),\n\
fa68c2ab636d 8217894: jpackage CLI syntax changes
herrick
parents: 57106
diff changeset
    88
\          all supported types of installable packages for the current\n\
fa68c2ab636d 8217894: jpackage CLI syntax changes
herrick
parents: 57106
diff changeset
    89
\          platform will be generated.\n\
fa68c2ab636d 8217894: jpackage CLI syntax changes
herrick
parents: 57106
diff changeset
    90
\  --runtime-installer \n\
fa68c2ab636d 8217894: jpackage CLI syntax changes
herrick
parents: 57106
diff changeset
    91
\          Generates a platform-specific installer for Java runtime.\n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
    92
\  --app-version <version string>\n\
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
    93
\          Version of the application\n\
56986
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
    94
\  --arguments -a <main class arguments>\n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
    95
\          Command line arguments to pass to the main class if no\n\
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
    96
\          arguments are specified by the launcher\n\
57078
db003bfc5bf7 JDK-8215453: remove unused BundlerParams and fix misleading messages
herrick
parents: 57071
diff changeset
    97
\  --icon <icon file path>\n\
db003bfc5bf7 JDK-8215453: remove unused BundlerParams and fix misleading messages
herrick
parents: 57071
diff changeset
    98
\          Path of the icon of the application bundle\n\
db003bfc5bf7 JDK-8215453: remove unused BundlerParams and fix misleading messages
herrick
parents: 57071
diff changeset
    99
\          (absolute path or relative to the current directory)\n\
56986
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   100
\  --identifier <id string>\n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   101
\          Machine readable identifier of the application\n\
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   102
\          The format must be a DNS name in reverse order,\n\
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   103
\          such as com.example.myapplication.\n\
56986
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   104
\  --verbose\n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   105
\          Enables verbose output\n\
56986
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   106
\  --strip-native-commands\n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   107
\          Removes native executables from the custom run-time images\n\
56986
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   108
\  --jvm-args <java vm arguments>\n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   109
\          JVM flags and options to pass to the application\n\
56986
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   110
\  --file-associations <file path>\n\
57078
db003bfc5bf7 JDK-8215453: remove unused BundlerParams and fix misleading messages
herrick
parents: 57071
diff changeset
   111
\          Path to a Properties file that contains list of key, value pairs\n\
db003bfc5bf7 JDK-8215453: remove unused BundlerParams and fix misleading messages
herrick
parents: 57071
diff changeset
   112
\          (absolute path or relative to the current directory)\n\
db003bfc5bf7 JDK-8215453: remove unused BundlerParams and fix misleading messages
herrick
parents: 57071
diff changeset
   113
\          The keys "extension", "mime-type", "icon", and "description"\n\
db003bfc5bf7 JDK-8215453: remove unused BundlerParams and fix misleading messages
herrick
parents: 57071
diff changeset
   114
\          can be used to describe the association.\n\
56986
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   115
\  --secondary-launcher <file path>\n\
57078
db003bfc5bf7 JDK-8215453: remove unused BundlerParams and fix misleading messages
herrick
parents: 57071
diff changeset
   116
\          Path to a Properties file that contains list of key, value pairs\n\
db003bfc5bf7 JDK-8215453: remove unused BundlerParams and fix misleading messages
herrick
parents: 57071
diff changeset
   117
\          (absolute path or relative to the current directory)\n\
db003bfc5bf7 JDK-8215453: remove unused BundlerParams and fix misleading messages
herrick
parents: 57071
diff changeset
   118
\          The keys  "name" (required), "version", "module", "class",\n\
db003bfc5bf7 JDK-8215453: remove unused BundlerParams and fix misleading messages
herrick
parents: 57071
diff changeset
   119
\          "icon", "arguments", "jvm-args", "win-menu",\n\
db003bfc5bf7 JDK-8215453: remove unused BundlerParams and fix misleading messages
herrick
parents: 57071
diff changeset
   120
\          "win-shortcut", and "win-console" can be used to describe\n\
db003bfc5bf7 JDK-8215453: remove unused BundlerParams and fix misleading messages
herrick
parents: 57071
diff changeset
   121
\          the secondary launcher.\n\
56986
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   122
\  --build-root <file path>\n\
57096
d06bec27f8c9 8215903: modify behavior of retaining temporary output dir
herrick
parents: 57091
diff changeset
   123
\          Path of a new or empty directory used to create temporary files\n\
57078
db003bfc5bf7 JDK-8215453: remove unused BundlerParams and fix misleading messages
herrick
parents: 57071
diff changeset
   124
\          (absolute path or relative to the current directory)\n\
57096
d06bec27f8c9 8215903: modify behavior of retaining temporary output dir
herrick
parents: 57091
diff changeset
   125
\          If not specified, a temporary directory will be created and\n\
d06bec27f8c9 8215903: modify behavior of retaining temporary output dir
herrick
parents: 57091
diff changeset
   126
\          removed upon the task completion.\n\
56986
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   127
\  --runtime-image <file path>\n\
57078
db003bfc5bf7 JDK-8215453: remove unused BundlerParams and fix misleading messages
herrick
parents: 57071
diff changeset
   128
\          Path of the predefined runtime image that is used to build\n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   129
\          an application image and installable package\n\
57078
db003bfc5bf7 JDK-8215453: remove unused BundlerParams and fix misleading messages
herrick
parents: 57071
diff changeset
   130
\          (absolute path or relative to the current directory)\n\
56986
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   131
\  --app-image <file path>\n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   132
\          Location of the predefined application image that is used\n\
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   133
\          to build an installable package\n\
57078
db003bfc5bf7 JDK-8215453: remove unused BundlerParams and fix misleading messages
herrick
parents: 57071
diff changeset
   134
\          (absolute path or relative to the current directory)\n\
56986
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   135
\  --install-dir <file path>\n\
57078
db003bfc5bf7 JDK-8215453: remove unused BundlerParams and fix misleading messages
herrick
parents: 57071
diff changeset
   136
\          Absolute path of the installation directory of the application\n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   137
\          This option is ignored on Windows, use --win-dir-chooser to\n\
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   138
\          provide user the ability to choose the installation directory.\n\
57080
bd4ce7f9ea2c 8214495: Change behavior of --license-file
herrick
parents: 57078
diff changeset
   139
\  --license-file <file path>\n\
bd4ce7f9ea2c 8214495: Change behavior of --license-file
herrick
parents: 57078
diff changeset
   140
\          Path to the license file\n\
bd4ce7f9ea2c 8214495: Change behavior of --license-file
herrick
parents: 57078
diff changeset
   141
\          (absolute path or relative to the current directory)\n\
56986
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   142
\  --copyright <copyright string>\n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   143
\          Copyright for the application\n\
56986
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   144
\  --description <description string>\n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   145
\          Description of the application\n\
56986
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   146
\  --category <category string>\n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   147
\          Category or group of the application\n\
56986
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   148
\  --vendor <vendor string>\n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   149
\          Vendor of the application\n\
57150
fa68c2ab636d 8217894: jpackage CLI syntax changes
herrick
parents: 57106
diff changeset
   150
\  --overwrite\n\
fa68c2ab636d 8217894: jpackage CLI syntax changes
herrick
parents: 57106
diff changeset
   151
\          Allow the recursive deletion of an existing application \n\
fa68c2ab636d 8217894: jpackage CLI syntax changes
herrick
parents: 57106
diff changeset
   152
\          output directory when creating an application image\n\
57091
06bc4bd64599 8215515: Add a command line option to override internal resources.
herrick
parents: 57080
diff changeset
   153
\  --resource-dir <path>\n\
06bc4bd64599 8215515: Add a command line option to override internal resources.
herrick
parents: 57080
diff changeset
   154
\          Path to override jpackage resources\n\
06bc4bd64599 8215515: Add a command line option to override internal resources.
herrick
parents: 57080
diff changeset
   155
\          Icons, template files, and other resources of jpackage can be\n\
06bc4bd64599 8215515: Add a command line option to override internal resources.
herrick
parents: 57080
diff changeset
   156
\          over-ridden by adding replacement resources to this directory.\n\
06bc4bd64599 8215515: Add a command line option to override internal resources.
herrick
parents: 57080
diff changeset
   157
\          (absolute path or relative to the current directory)\n\
56986
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   158
\n\
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   159
Modular options:\n\
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   160
\  --module -m <module name>\n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   161
\          Main module of the application\n\
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   162
\          This module must contain the main-class,\n\
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   163
\          and be located on the module path.\n\
56986
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   164
\  --module-path -p <module path>\n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   165
\          Path JLink looks in for modules when packaging the Java Runtime\n\
57078
db003bfc5bf7 JDK-8215453: remove unused BundlerParams and fix misleading messages
herrick
parents: 57071
diff changeset
   166
\          (absolute path or relative to the current directory)\n\
56986
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   167
\  --add-modules <module list>\n\
57150
fa68c2ab636d 8217894: jpackage CLI syntax changes
herrick
parents: 57106
diff changeset
   168
\          A comma (",") separated list of modules to add to JImage creation,\n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   169
\          including possible services\n\
56986
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   170
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   171
MSG_Help_mac=\nThe following options are valid for Mac OS X platforms:\n\
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   172
\  --mac-sign\n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   173
\          Request that the bundle be signed\n\
56986
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   174
\  --mac-bundle-name <name string>\n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   175
\          Name of the application as it appears in the Menu Bar\n\
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   176
\          This can be different from the application name.\n\
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   177
\          This name must be less than 16 characters long and be suitable for\n\
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   178
\          displaying in the menu bar and the application Info window.\n\
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   179
\          Defaults to the application name.\n\
56986
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   180
\  --mac-bundle-identifier <ID string>\n\
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   181
\          An identifier that uniquely identifies the application for MacOSX\n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   182
\          (and on the Mac App Store)\n\
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   183
\          May only use alphanumeric (A-Z,a-z,0-9), hyphen (-),\n\
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   184
\          and period (.) characters.\n\
56986
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   185
\  --mac-app-store-category <category string>\n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   186
\          Mac App Store Categories\n\
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   187
\          Note that the key is the string shown to\n\
56986
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   188
\          the user and the value is the ID of the category.\n\
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   189
\  --mac-app-store-entitlements <file path>\n\
57078
db003bfc5bf7 JDK-8215453: remove unused BundlerParams and fix misleading messages
herrick
parents: 57071
diff changeset
   190
\          Path of a custom mac app store entitlements file\n\
db003bfc5bf7 JDK-8215453: remove unused BundlerParams and fix misleading messages
herrick
parents: 57071
diff changeset
   191
\          (absolute path or relative to the current directory)\n\
56986
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   192
\  --mac-bundle-signing-prefix <prefix string>\n\
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   193
\          When signing the application bundle, this value is prefixed to all\n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   194
\          components that need to be signed that don't have\n\
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   195
\          an existing bundle identifier.\n\
56986
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   196
\  --mac-signing-key-user-name <user name>\n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   197
\          User name portion of the typical\n\
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   198
\          "Mac Developer ID Application: <user name>" signing key\n\
56986
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   199
\  --mac-signing-keychain <file path>\n\
57078
db003bfc5bf7 JDK-8215453: remove unused BundlerParams and fix misleading messages
herrick
parents: 57071
diff changeset
   200
\          Path of the keychain to use\n\
db003bfc5bf7 JDK-8215453: remove unused BundlerParams and fix misleading messages
herrick
parents: 57071
diff changeset
   201
\          (absolute path or relative to the current directory)\n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   202
\          If not specified, the standard keychains are used.\n\
56986
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   203
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   204
MSG_Help_linux=\nThe following options are valid for Linux platforms:\n\
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   205
\  --linux-bundle-name <bundle name>\n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   206
\          Name for Linux bundle, defaults to the application name\n\
56986
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   207
\  --linux-package-deps\n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   208
\          Required packages or capabilities for the application\n\
56986
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   209
\  --linux-rpm-license-type <type string>\n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   210
\          Type of the license ("License: <value>" of the RPM .spec)\n\
56986
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   211
\  --linux-deb-maintainer <email address>\n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   212
\          Maintainer for .deb bundle\n\
56986
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   213
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   214
MSG_Help_win=\nThe following options are valid for Windows platforms:\n\
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   215
\  --win-menu\n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   216
\          Adds the application to the system menu\n\
56986
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   217
\  --win-menu-group <menu group name>\n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   218
\          Start Menu group this application is placed in\n\
56986
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   219
\  --win-per-user-install\n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   220
\          Request to perform an install on a per-user basis\n\
56986
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   221
\  --win-dir-chooser\n\
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   222
\          Adds a dialog to enable the user to choose a directory in which\n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   223
\          the product is installed\n\
56986
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   224
\  --win-registry-name <registry name>\n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   225
\          Name of the application for registry references.\n\
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   226
\          The default is the Application Name with only\n\
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   227
\          alphanumerics, dots, and dashes (no whitespace)\n\
56986
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   228
\  --win-upgrade-uuid <id string>\n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   229
\          UUID associated with upgrades for this package\n\
56986
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   230
\  --win-shortcut\n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   231
\          Creates a desktop shortcut for the application\n\
56986
5c3dae7af901 JDK-8212089: Prepare packager for localization
herrick
parents:
diff changeset
   232
\  --win-console\n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   233
\          Creates a console launcher for the application, should be\n\
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   234
\          specified for application which requires console interactions\n\
57022
81021f910bc2 8213333: Fix issues found in jpackager with automated tests
herrick
parents: 57021
diff changeset
   235
57039
98d3963b0b7b 8214051: rename jpackager tool to jpackage
herrick
parents: 57025
diff changeset
   236
MSG_Help_no_args=Usage: jpackage <mode> <options>\n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   237
\Use jpackage --help (or -h) for a list of possible options\
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   238