src/jdk.jpackage/share/classes/jdk/jpackage/internal/resources/HelpResources.properties
author herrick
Sun, 15 Sep 2019 07:34:39 -0400
branchJDK-8200758-branch
changeset 58147 45a9084fe981
parent 58116 93b8c1305de2
child 58304 7a61351edad2
permissions -rw-r--r--
8230521: rename --output/-o option and add default value (".") Submitted-by: almatvee Reviewed-by: herrick, asemenyuk
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
56982
e094d5483bd6 8212048: Cleanup source code and fix issues discussed in preliminary review
herrick
parents: 56957
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.
56982
e094d5483bd6 8212048: Cleanup source code and fix issues discussed in preliminary review
herrick
parents: 56957
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
e094d5483bd6 8212048: Cleanup source code and fix issues discussed in preliminary review
herrick
parents: 56957
diff changeset
     4
#
e094d5483bd6 8212048: Cleanup source code and fix issues discussed in preliminary review
herrick
parents: 56957
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
e094d5483bd6 8212048: Cleanup source code and fix issues discussed in preliminary review
herrick
parents: 56957
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
e094d5483bd6 8212048: Cleanup source code and fix issues discussed in preliminary review
herrick
parents: 56957
diff changeset
     7
# published by the Free Software Foundation.  Oracle designates this
e094d5483bd6 8212048: Cleanup source code and fix issues discussed in preliminary review
herrick
parents: 56957
diff changeset
     8
# particular file as subject to the "Classpath" exception as provided
e094d5483bd6 8212048: Cleanup source code and fix issues discussed in preliminary review
herrick
parents: 56957
diff changeset
     9
# by Oracle in the LICENSE file that accompanied this code.
e094d5483bd6 8212048: Cleanup source code and fix issues discussed in preliminary review
herrick
parents: 56957
diff changeset
    10
#
e094d5483bd6 8212048: Cleanup source code and fix issues discussed in preliminary review
herrick
parents: 56957
diff changeset
    11
# This code is distributed in the hope that it will be useful, but WITHOUT
e094d5483bd6 8212048: Cleanup source code and fix issues discussed in preliminary review
herrick
parents: 56957
diff changeset
    12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
e094d5483bd6 8212048: Cleanup source code and fix issues discussed in preliminary review
herrick
parents: 56957
diff changeset
    13
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
e094d5483bd6 8212048: Cleanup source code and fix issues discussed in preliminary review
herrick
parents: 56957
diff changeset
    14
# version 2 for more details (a copy is included in the LICENSE file that
e094d5483bd6 8212048: Cleanup source code and fix issues discussed in preliminary review
herrick
parents: 56957
diff changeset
    15
# accompanied this code).
e094d5483bd6 8212048: Cleanup source code and fix issues discussed in preliminary review
herrick
parents: 56957
diff changeset
    16
#
e094d5483bd6 8212048: Cleanup source code and fix issues discussed in preliminary review
herrick
parents: 56957
diff changeset
    17
# You should have received a copy of the GNU General Public License version
e094d5483bd6 8212048: Cleanup source code and fix issues discussed in preliminary review
herrick
parents: 56957
diff changeset
    18
# 2 along with this work; if not, write to the Free Software Foundation,
e094d5483bd6 8212048: Cleanup source code and fix issues discussed in preliminary review
herrick
parents: 56957
diff changeset
    19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
e094d5483bd6 8212048: Cleanup source code and fix issues discussed in preliminary review
herrick
parents: 56957
diff changeset
    20
#
e094d5483bd6 8212048: Cleanup source code and fix issues discussed in preliminary review
herrick
parents: 56957
diff changeset
    21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
e094d5483bd6 8212048: Cleanup source code and fix issues discussed in preliminary review
herrick
parents: 56957
diff changeset
    22
# or visit www.oracle.com if you need additional information or have any
e094d5483bd6 8212048: Cleanup source code and fix issues discussed in preliminary review
herrick
parents: 56957
diff changeset
    23
# questions.
e094d5483bd6 8212048: Cleanup source code and fix issues discussed in preliminary review
herrick
parents: 56957
diff changeset
    24
#
e094d5483bd6 8212048: Cleanup source code and fix issues discussed in preliminary review
herrick
parents: 56957
diff changeset
    25
#
e094d5483bd6 8212048: Cleanup source code and fix issues discussed in preliminary review
herrick
parents: 56957
diff changeset
    26
57414
6eda749d3117 8225428: CLI change to remove "mode", rename to "package", and build only one target
herrick
parents: 57397
diff changeset
    27
MSG_Help=Usage: jpackage <options>\n\
56821
565d54ca1f41 8206005: Move prototype jpackager from closed sandbox to open sandbox
herrick
parents:
diff changeset
    28
\n\
565d54ca1f41 8206005: Move prototype jpackager from closed sandbox to open sandbox
herrick
parents:
diff changeset
    29
Sample usages:\n\
565d54ca1f41 8206005: Move prototype jpackager from closed sandbox to open sandbox
herrick
parents:
diff changeset
    30
--------------\n\
57328
b33e5f36b59b 8222486: Reorder sample usage in jpackage help output
herrick
parents: 57323
diff changeset
    31
\    Generate a non-modular application image:\n\
58147
45a9084fe981 8230521: rename --output/-o option and add default value (".")
herrick
parents: 58116
diff changeset
    32
\        jpackage --package-type app-image -d destdir -i inputdir -n name \\\n\
57328
b33e5f36b59b 8222486: Reorder sample usage in jpackage help output
herrick
parents: 57323
diff changeset
    33
\            --main-class className --main-jar MyJar.jar\n\
57150
fa68c2ab636d 8217894: jpackage CLI syntax changes
herrick
parents: 57106
diff changeset
    34
\    Generate a modular application image:\n\
58147
45a9084fe981 8230521: rename --output/-o option and add default value (".")
herrick
parents: 58116
diff changeset
    35
\        jpackage --package-type app-image -n name -p modulePath \\\n\
45a9084fe981 8230521: rename --output/-o option and add default value (".")
herrick
parents: 58116
diff changeset
    36
\            -m moduleName/className\n\
57257
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
    37
\        To provide your own options to jlink, run jlink separately:\n\
57397
89549ecec1c7 8223212: Code cleanup found during jpackage review
herrick
parents: 57394
diff changeset
    38
\            jlink --output appRuntimeImage -p ModulePath -m moduleName \\\n\
57257
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
    39
\                --no-header-files [<additional jlink options>...]\n\
58147
45a9084fe981 8230521: rename --output/-o option and add default value (".")
herrick
parents: 58116
diff changeset
    40
\            jpackage --package-type app-image -n name \\\n\
57397
89549ecec1c7 8223212: Code cleanup found during jpackage review
herrick
parents: 57394
diff changeset
    41
\                -m moduleName/className --runtime-image appRuntimeImage\n\
57414
6eda749d3117 8225428: CLI change to remove "mode", rename to "package", and build only one target
herrick
parents: 57397
diff changeset
    42
\    Generate an application package:\n\
58147
45a9084fe981 8230521: rename --output/-o option and add default value (".")
herrick
parents: 58116
diff changeset
    43
\        jpackage --package-type <type> -n name \\\n\
57306
b3b59183df78 8221779: Help text changes from JDK-8221777 and other jpackage EA5 feedback
herrick
parents: 57291
diff changeset
    44
\            -p modulePath -m moduleName/className\n\
58147
45a9084fe981 8230521: rename --output/-o option and add default value (".")
herrick
parents: 58116
diff changeset
    45
\        jpackage --package-type <type> -i inputdir -n name \\\n\
57257
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
    46
\            --main-class package.ClassName --main-jar MyJar.jar\n\
58147
45a9084fe981 8230521: rename --output/-o option and add default value (".")
herrick
parents: 58116
diff changeset
    47
\        jpackage --package-type <type> -n name \\\n\
57414
6eda749d3117 8225428: CLI change to remove "mode", rename to "package", and build only one target
herrick
parents: 57397
diff changeset
    48
\            --app-image <app image dir>\n\
6eda749d3117 8225428: CLI change to remove "mode", rename to "package", and build only one target
herrick
parents: 57397
diff changeset
    49
\    Generate a Java runtime package:\n\
58147
45a9084fe981 8230521: rename --output/-o option and add default value (".")
herrick
parents: 58116
diff changeset
    50
\        jpackage -n name --runtime-image <runtime-image>\n\
56821
565d54ca1f41 8206005: Move prototype jpackager from closed sandbox to open sandbox
herrick
parents:
diff changeset
    51
\n\
57257
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
    52
Generic Options:\n\
57060
5103d6d2e796 8213385: jpackager Command-Line Argument File.
herrick
parents: 57059
diff changeset
    53
\  @<filename> \n\
57276
eac9018748b3 8220804: Help message for @ argfile option is printed in the wrong place
herrick
parents: 57261
diff changeset
    54
\          Read options and/or mode from a file \n\
57330
a30edd277572 8222733: Modify jpackage option --add-launcher synta
herrick
parents: 57328
diff changeset
    55
\          This option can be used multiple times.\n\
57414
6eda749d3117 8225428: CLI change to remove "mode", rename to "package", and build only one target
herrick
parents: 57397
diff changeset
    56
\  --package-type <type> \n\
6eda749d3117 8225428: CLI change to remove "mode", rename to "package", and build only one target
herrick
parents: 57397
diff changeset
    57
\          The type of package to create\n\
6eda749d3117 8225428: CLI change to remove "mode", rename to "package", and build only one target
herrick
parents: 57397
diff changeset
    58
\          Valid values are: {1} \n\
58114
42df7de58e39 8230519: jpackage "--package-type" values and default
herrick
parents: 57910
diff changeset
    59
\          If this option is not specified a platform dependent\n\
42df7de58e39 8230519: jpackage "--package-type" values and default
herrick
parents: 57910
diff changeset
    60
\          default package type will be created.\n\
57257
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
    61
\  --app-version <version>\n\
57414
6eda749d3117 8225428: CLI change to remove "mode", rename to "package", and build only one target
herrick
parents: 57397
diff changeset
    62
\          Version of the application and/or package\n\
57257
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
    63
\  --copyright <copyright string>\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
    64
\          Copyright for the application\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
    65
\  --description <description string>\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
    66
\          Description of the application\n\
56982
e094d5483bd6 8212048: Cleanup source code and fix issues discussed in preliminary review
herrick
parents: 56957
diff changeset
    67
\  --help -h \n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
    68
\          Print the usage text with a list and description of each valid\n\
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
    69
\          option for the current platform to the output stream, and exit\n\
57257
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
    70
\  --name -n <name>\n\
57414
6eda749d3117 8225428: CLI change to remove "mode", rename to "package", and build only one target
herrick
parents: 57397
diff changeset
    71
\          Name of the application and/or package\n\
58147
45a9084fe981 8230521: rename --output/-o option and add default value (".")
herrick
parents: 58116
diff changeset
    72
\  --dest -d <destination path>\n\
57078
db003bfc5bf7 JDK-8215453: remove unused BundlerParams and fix misleading messages
herrick
parents: 57071
diff changeset
    73
\          Path where generated output file is placed\n\
58147
45a9084fe981 8230521: rename --output/-o option and add default value (".")
herrick
parents: 58116
diff changeset
    74
\          Defaults to the current working directory.\n\
57078
db003bfc5bf7 JDK-8215453: remove unused BundlerParams and fix misleading messages
herrick
parents: 57071
diff changeset
    75
\          (absolute path or relative to the current directory)\n\
58115
4a27283b542d /home/aherrick/comment
herrick
parents: 58114
diff changeset
    76
\  --temp <file path>\n\
57257
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
    77
\          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
    78
\          (absolute path or relative to the current directory)\n\
58115
4a27283b542d /home/aherrick/comment
herrick
parents: 58114
diff changeset
    79
\          If specified, the temp dir will not be removed upon the task\n\
57257
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
    80
\          completion and must be removed manually\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
    81
\          If not specified, a temporary directory will be created and\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
    82
\          removed upon the task completion.\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
    83
\  --vendor <vendor string>\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
    84
\          Vendor of the application\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
    85
\  --verbose\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
    86
\          Enables verbose output\n\
57261
13b6672477df 8220505: Allow building available installers when --installer-type not specified
herrick
parents: 57257
diff changeset
    87
\  --version\n\
57257
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
    88
\          Print the product version to the output stream and exit\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
    89
\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
    90
\Options for creating the runtime image:\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
    91
\  --add-modules <module name>[,<module name>...]\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
    92
\          A comma (",") separated list of modules to add.\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
    93
\          This module list, along with the main module (if specified)\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
    94
\          will be passed to jlink as the --add-module argument.\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
    95
\          if not specified, either just the main module (if --module is\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
    96
\          specified), or the default set of modules (if --main-jar is \n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
    97
\          specified) are used.\n\
57330
a30edd277572 8222733: Modify jpackage option --add-launcher synta
herrick
parents: 57328
diff changeset
    98
\          This option can be used multiple times.\n\
57257
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
    99
\  --module-path -p <module path>...\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   100
\          A {0} separated list of paths\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   101
\          Each path is either a directory of modules or the path to a\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   102
\          modular jar.\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   103
\          (each path is absolute or relative to the current directory)\n\
57330
a30edd277572 8222733: Modify jpackage option --add-launcher synta
herrick
parents: 57328
diff changeset
   104
\          This option can be used multiple times.\n\
57257
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   105
\  --runtime-image <file path>\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   106
\          Path of the predefined runtime image that will be copied into\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   107
\          the application image\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   108
\          (absolute path or relative to the current directory)\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   109
\          If --runtime-image is not specified, jpackage will run jlink to\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   110
\          create the runtime image using options:\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   111
\          --strip-debug, --no-header-files, --no-man-pages, and\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   112
\          --strip-native-commands.  --bind-services will also be added if\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   113
\          --add-modules is not specified.\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   114
\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   115
\Options for creating the application image:\n\
57078
db003bfc5bf7 JDK-8215453: remove unused BundlerParams and fix misleading messages
herrick
parents: 57071
diff changeset
   116
\  --icon <icon file path>\n\
58115
4a27283b542d /home/aherrick/comment
herrick
parents: 58114
diff changeset
   117
\          Path of the icon of the application package\n\
57078
db003bfc5bf7 JDK-8215453: remove unused BundlerParams and fix misleading messages
herrick
parents: 57071
diff changeset
   118
\          (absolute path or relative to the current directory)\n\
57257
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   119
\  --input -i <input path>\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   120
\          Path of the input directory that contains the files to be packaged\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   121
\          (absolute path or relative to the current directory)\n\
57306
b3b59183df78 8221779: Help text changes from JDK-8221777 and other jpackage EA5 feedback
herrick
parents: 57291
diff changeset
   122
\          All files in the input directory will be packaged into the\n\
b3b59183df78 8221779: Help text changes from JDK-8221777 and other jpackage EA5 feedback
herrick
parents: 57291
diff changeset
   123
\          application image.\n\
57257
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   124
\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   125
\Options for creating the application launcher(s):\n\
57330
a30edd277572 8222733: Modify jpackage option --add-launcher synta
herrick
parents: 57328
diff changeset
   126
\  --add-launcher <launcher name>=<file path>\n\
a30edd277572 8222733: Modify jpackage option --add-launcher synta
herrick
parents: 57328
diff changeset
   127
\          Name of launcher, and a path to a Properties file that contains\n\
a30edd277572 8222733: Modify jpackage option --add-launcher synta
herrick
parents: 57328
diff changeset
   128
\          a list of key, value pairs\n\
57257
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   129
\          (absolute path or relative to the current directory)\n\
57394
17c43babfc2f 8224748: --add-launcher option --add-modules
herrick
parents: 57392
diff changeset
   130
\          The keys "module", "main-jar", "main-class",\n\
57330
a30edd277572 8222733: Modify jpackage option --add-launcher synta
herrick
parents: 57328
diff changeset
   131
\          "arguments", "java-options", "app-version", "icon", and\n\
a30edd277572 8222733: Modify jpackage option --add-launcher synta
herrick
parents: 57328
diff changeset
   132
\          "win-console" can be used.\n\
57257
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   133
\          These options are added to, or used to overwrite, the original\n\
57306
b3b59183df78 8221779: Help text changes from JDK-8221777 and other jpackage EA5 feedback
herrick
parents: 57291
diff changeset
   134
\          command line options to build an additional alternative launcher.\n\
b3b59183df78 8221779: Help text changes from JDK-8221777 and other jpackage EA5 feedback
herrick
parents: 57291
diff changeset
   135
\          The main application launcher will be built from the command line\n\
57330
a30edd277572 8222733: Modify jpackage option --add-launcher synta
herrick
parents: 57328
diff changeset
   136
\          options. Additional alternative launchers can be built using\n\
a30edd277572 8222733: Modify jpackage option --add-launcher synta
herrick
parents: 57328
diff changeset
   137
\          this option, and this option can be used multiple times to\n\
a30edd277572 8222733: Modify jpackage option --add-launcher synta
herrick
parents: 57328
diff changeset
   138
\          build multiple additional launchers. \n\
57257
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   139
\  --arguments <main class arguments>\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   140
\          Command line arguments to pass to the main class if no command\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   141
\          line arguments are given to the launcher\n\
57330
a30edd277572 8222733: Modify jpackage option --add-launcher synta
herrick
parents: 57328
diff changeset
   142
\          This option can be used multiple times.\n\
57291
f2d429260ad4 8221582: Rename jvm-args option to java-options
herrick
parents: 57286
diff changeset
   143
\  --java-options <java options>\n\
f2d429260ad4 8221582: Rename jvm-args option to java-options
herrick
parents: 57286
diff changeset
   144
\          Options to pass to the Java runtime\n\
57330
a30edd277572 8222733: Modify jpackage option --add-launcher synta
herrick
parents: 57328
diff changeset
   145
\          This option can be used multiple times.\n\
57257
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   146
\  --main-class <class name>\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   147
\          Qualified name of the application main class to execute\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   148
\          This option can only be used if --main-jar is specified.\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   149
\  --main-jar <main jar file>\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   150
\          The main JAR of the application; containing the main class\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   151
\          (specified as a path relative to the input path)\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   152
\          Either --module or --main-jar option can be specified but not\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   153
\          both.\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   154
\  --module -m <module name>[/<main class>]\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   155
\          The main module (and optionally main class) of the application\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   156
\          This module must be located on the module path.\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   157
\          When this option is specified, the main module will be linked\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   158
\          in the Java runtime image.  Either --module or --main-jar\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   159
\          option can be specified but not both.\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   160
{2}\n\
57414
6eda749d3117 8225428: CLI change to remove "mode", rename to "package", and build only one target
herrick
parents: 57397
diff changeset
   161
\Options for creating the application package:\n\
57257
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   162
\  --app-image <file path>\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   163
\          Location of the predefined application image that is used\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   164
\          to build an installable package\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   165
\          (absolute path or relative to the current directory)\n\
56982
e094d5483bd6 8212048: Cleanup source code and fix issues discussed in preliminary review
herrick
parents: 56957
diff changeset
   166
\  --file-associations <file path>\n\
57078
db003bfc5bf7 JDK-8215453: remove unused BundlerParams and fix misleading messages
herrick
parents: 57071
diff changeset
   167
\          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
   168
\          (absolute path or relative to the current directory)\n\
db003bfc5bf7 JDK-8215453: remove unused BundlerParams and fix misleading messages
herrick
parents: 57071
diff changeset
   169
\          The keys "extension", "mime-type", "icon", and "description"\n\
db003bfc5bf7 JDK-8215453: remove unused BundlerParams and fix misleading messages
herrick
parents: 57071
diff changeset
   170
\          can be used to describe the association.\n\
57330
a30edd277572 8222733: Modify jpackage option --add-launcher synta
herrick
parents: 57328
diff changeset
   171
\          This option can be used multiple times.\n\
57257
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   172
\  --identifier <id string>\n\
57323
66c1dbc008c5 8217895: jpackage --identifer purpose
herrick
parents: 57306
diff changeset
   173
\          An identifier that uniquely identifies the application\n\
66c1dbc008c5 8217895: jpackage --identifer purpose
herrick
parents: 57306
diff changeset
   174
\          Defaults to the main class name.\n\
66c1dbc008c5 8217895: jpackage --identifer purpose
herrick
parents: 57306
diff changeset
   175
\          The value should be a valid DNS name.\n\
56982
e094d5483bd6 8212048: Cleanup source code and fix issues discussed in preliminary review
herrick
parents: 56957
diff changeset
   176
\  --install-dir <file path>\n\
57283
0b0be19f79e4 8215019: Allow --install-dir on windows
herrick
parents: 57276
diff changeset
   177
\          {4}\
57080
bd4ce7f9ea2c 8214495: Change behavior of --license-file
herrick
parents: 57078
diff changeset
   178
\  --license-file <file path>\n\
bd4ce7f9ea2c 8214495: Change behavior of --license-file
herrick
parents: 57078
diff changeset
   179
\          Path to the license file\n\
bd4ce7f9ea2c 8214495: Change behavior of --license-file
herrick
parents: 57078
diff changeset
   180
\          (absolute path or relative to the current directory)\n\
57091
06bc4bd64599 8215515: Add a command line option to override internal resources.
herrick
parents: 57080
diff changeset
   181
\  --resource-dir <path>\n\
06bc4bd64599 8215515: Add a command line option to override internal resources.
herrick
parents: 57080
diff changeset
   182
\          Path to override jpackage resources\n\
06bc4bd64599 8215515: Add a command line option to override internal resources.
herrick
parents: 57080
diff changeset
   183
\          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
   184
\          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
   185
\          (absolute path or relative to the current directory)\n\
57257
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   186
\  --runtime-image <file-path>\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   187
\          Path of the predefined runtime image to install\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   188
\          (absolute path or relative to the current directory)\n\
57414
6eda749d3117 8225428: CLI change to remove "mode", rename to "package", and build only one target
herrick
parents: 57397
diff changeset
   189
\          Option is required when creating a runtime package.\n\
56821
565d54ca1f41 8206005: Move prototype jpackager from closed sandbox to open sandbox
herrick
parents:
diff changeset
   190
\n\
57414
6eda749d3117 8225428: CLI change to remove "mode", rename to "package", and build only one target
herrick
parents: 57397
diff changeset
   191
\Platform dependent options for creating the application package:\n\
57257
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   192
{3}
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   193
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   194
MSG_Help_win_launcher=\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   195
\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   196
\Platform dependent option for creating the application launcher:\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   197
\  --win-console\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   198
\          Creates a console launcher for the application, should be\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   199
\          specified for application which requires console interactions\n\
56821
565d54ca1f41 8206005: Move prototype jpackager from closed sandbox to open sandbox
herrick
parents:
diff changeset
   200
57257
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   201
MSG_Help_win_install=\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   202
\  --win-dir-chooser\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   203
\          Adds a dialog to enable the user to choose a directory in which\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   204
\          the product is installed\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   205
\  --win-menu\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   206
\          Adds the application to the system menu\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   207
\  --win-menu-group <menu group name>\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   208
\          Start Menu group this application is placed in\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   209
\  --win-per-user-install\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   210
\          Request to perform an install on a per-user basis\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   211
\  --win-shortcut\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   212
\          Creates a desktop shortcut for the application\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   213
\  --win-upgrade-uuid <id string>\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   214
\          UUID associated with upgrades for this package\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   215
57283
0b0be19f79e4 8215019: Allow --install-dir on windows
herrick
parents: 57276
diff changeset
   216
MSG_Help_win_install_dir=\
0b0be19f79e4 8215019: Allow --install-dir on windows
herrick
parents: 57276
diff changeset
   217
\Relative sub-path under the default installation location\n\
0b0be19f79e4 8215019: Allow --install-dir on windows
herrick
parents: 57276
diff changeset
   218
57286
2ee6dedec44f 8221256: Fix create-installer specific options on MAC
herrick
parents: 57283
diff changeset
   219
MSG_Help_mac_launcher=\
58115
4a27283b542d /home/aherrick/comment
herrick
parents: 58114
diff changeset
   220
\  --mac-package-identifier <ID string>\n\
57909
c7de06ed4b54 8229979: jpackage cleanup src files, help text, and javadoc
herrick
parents: 57807
diff changeset
   221
\          An identifier that uniquely identifies the application for macOS\n\
57323
66c1dbc008c5 8217895: jpackage --identifer purpose
herrick
parents: 57306
diff changeset
   222
\          Defaults to the value of --identifier option.\n\
57257
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   223
\          May only use alphanumeric (A-Z,a-z,0-9), hyphen (-),\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   224
\          and period (.) characters.\n\
58115
4a27283b542d /home/aherrick/comment
herrick
parents: 58114
diff changeset
   225
\  --mac-package-name <name string>\n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   226
\          Name of the application as it appears in the Menu Bar\n\
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   227
\          This can be different from the application name.\n\
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   228
\          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
   229
\          displaying in the menu bar and the application Info window.\n\
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   230
\          Defaults to the application name.\n\
58115
4a27283b542d /home/aherrick/comment
herrick
parents: 58114
diff changeset
   231
\  --mac-package-signing-prefix <prefix string>\n\
4a27283b542d /home/aherrick/comment
herrick
parents: 58114
diff changeset
   232
\          When signing the application package, this value is prefixed\n\
4a27283b542d /home/aherrick/comment
herrick
parents: 58114
diff changeset
   233
\          to all components that need to be signed that don't have\n\
4a27283b542d /home/aherrick/comment
herrick
parents: 58114
diff changeset
   234
\          an existing package identifier.\n\
57257
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   235
\  --mac-sign\n\
58115
4a27283b542d /home/aherrick/comment
herrick
parents: 58114
diff changeset
   236
\          Request that the package be signed\n\
56982
e094d5483bd6 8212048: Cleanup source code and fix issues discussed in preliminary review
herrick
parents: 56957
diff changeset
   237
\  --mac-signing-keychain <file path>\n\
57392
46d4b0aa4542 8223241: jpackage cleanup from code review
herrick
parents: 57330
diff changeset
   238
\          Path of the keychain to search for the signing identity\n\
46d4b0aa4542 8223241: jpackage cleanup from code review
herrick
parents: 57330
diff changeset
   239
\          (absolute path or relative to the current directory).\n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   240
\          If not specified, the standard keychains are used.\n\
57392
46d4b0aa4542 8223241: jpackage cleanup from code review
herrick
parents: 57330
diff changeset
   241
\  --mac-signing-key-user-name <team name>\n\
46d4b0aa4542 8223241: jpackage cleanup from code review
herrick
parents: 57330
diff changeset
   242
\          Team name portion in Apple signing identities' names.\n\
46d4b0aa4542 8223241: jpackage cleanup from code review
herrick
parents: 57330
diff changeset
   243
\          For example "Developer ID Application: "\n\
56821
565d54ca1f41 8206005: Move prototype jpackager from closed sandbox to open sandbox
herrick
parents:
diff changeset
   244
57257
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   245
MSG_Help_linux_install=\
58115
4a27283b542d /home/aherrick/comment
herrick
parents: 58114
diff changeset
   246
\  --linux-package-name <package name>\n\
4a27283b542d /home/aherrick/comment
herrick
parents: 58114
diff changeset
   247
\          Name for Linux package, defaults to the application name\n\
57257
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   248
\  --linux-deb-maintainer <email address>\n\
58115
4a27283b542d /home/aherrick/comment
herrick
parents: 58114
diff changeset
   249
\          Maintainer for .deb package\n\
57807
4a15115716ea 8215381: Investigate if current implementation of --license-file is correct for Debian packages
herrick
parents: 57806
diff changeset
   250
\  --linux-deb-copyright-file <file path>\n\
4a15115716ea 8215381: Investigate if current implementation of --license-file is correct for Debian packages
herrick
parents: 57806
diff changeset
   251
\          Path to custom copyright file for Debian packaging\n\
4a15115716ea 8215381: Investigate if current implementation of --license-file is correct for Debian packages
herrick
parents: 57806
diff changeset
   252
\          (absolute path or relative to the current directory)\n\
57257
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   253
\  --linux-menu-group <menu-group-name>\n\
69ad9df313e4 8219679: Help text changes in jpackage
herrick
parents: 57213
diff changeset
   254
\          Menu group this application is placed in\n\
56821
565d54ca1f41 8206005: Move prototype jpackager from closed sandbox to open sandbox
herrick
parents:
diff changeset
   255
\  --linux-package-deps\n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   256
\          Required packages or capabilities for the application\n\
56982
e094d5483bd6 8212048: Cleanup source code and fix issues discussed in preliminary review
herrick
parents: 56957
diff changeset
   257
\  --linux-rpm-license-type <type string>\n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   258
\          Type of the license ("License: <value>" of the RPM .spec)\n\
57741
38856ef4a19c 8229138: Add --linux-app-release option for DEB and RPM packages
herrick
parents: 57414
diff changeset
   259
\  --linux-app-release <release value>\n\
57910
28412b313c6b 8228660: .deb files generated by jpackage don't follow naming convention
herrick
parents: 57909
diff changeset
   260
\          Release value of the RPM <name>.spec file or \n\
28412b313c6b 8228660: .deb files generated by jpackage don't follow naming convention
herrick
parents: 57909
diff changeset
   261
\          Debian revision value of the DEB control file.\n\
57790
1ea531646100 8213941: Debian linux problems in JavaPackager
herrick
parents: 57741
diff changeset
   262
\  --linux-app-category <category value>\n\
1ea531646100 8213941: Debian linux problems in JavaPackager
herrick
parents: 57741
diff changeset
   263
\          Group value of the RPM <name>.spec file or \n\
1ea531646100 8213941: Debian linux problems in JavaPackager
herrick
parents: 57741
diff changeset
   264
\          Section value of DEB control file.\n\
58116
93b8c1305de2 8229779: Shortcut creation policy
herrick
parents: 58115
diff changeset
   265
\  --linux-shortcut\n\
93b8c1305de2 8229779: Shortcut creation policy
herrick
parents: 58115
diff changeset
   266
\          Creates a shortcut for the application\n\
57022
81021f910bc2 8213333: Fix issues found in jpackager with automated tests
herrick
parents: 57021
diff changeset
   267
57283
0b0be19f79e4 8215019: Allow --install-dir on windows
herrick
parents: 57276
diff changeset
   268
MSG_Help_mac_linux_install_dir=\
0b0be19f79e4 8215019: Allow --install-dir on windows
herrick
parents: 57276
diff changeset
   269
\Absolute path of the installation directory of the application\n\
0b0be19f79e4 8215019: Allow --install-dir on windows
herrick
parents: 57276
diff changeset
   270
0b0be19f79e4 8215019: Allow --install-dir on windows
herrick
parents: 57276
diff changeset
   271
MSG_Help_default_install_dir=\
0b0be19f79e4 8215019: Allow --install-dir on windows
herrick
parents: 57276
diff changeset
   272
\Absolute path of the installation directory of the application on OS X\n\
58147
45a9084fe981 8230521: rename --output/-o option and add default value (".")
herrick
parents: 58116
diff changeset
   273
\          or Linux. Relative sub-path of the installation location of\n\
45a9084fe981 8230521: rename --output/-o option and add default value (".")
herrick
parents: 58116
diff changeset
   274
\          the application such as "Program Files" or "AppData" on Windows.\n\
57283
0b0be19f79e4 8215019: Allow --install-dir on windows
herrick
parents: 57276
diff changeset
   275
57039
98d3963b0b7b 8214051: rename jpackager tool to jpackage
herrick
parents: 57025
diff changeset
   276
MSG_Help_no_args=Usage: jpackage <mode> <options>\n\
57071
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   277
\Use jpackage --help (or -h) for a list of possible options\
94e9270166f0 8213392: Enhance --help and --version
herrick
parents: 57060
diff changeset
   278