src/jdk.jpackage/share/classes/jdk/jpackage/internal/resources/HelpResources.properties
branchJDK-8200758-branch
changeset 57059 9bb2a4dc3af7
parent 57039 98d3963b0b7b
child 57060 5103d6d2e796
equal deleted inserted replaced
57055:cac1ec6a34ee 57059:9bb2a4dc3af7
       
     1 #
       
     2 # Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.
       
     3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
       
     4 #
       
     5 # This code is free software; you can redistribute it and/or modify it
       
     6 # under the terms of the GNU General Public License version 2 only, as
       
     7 # published by the Free Software Foundation.  Oracle designates this
       
     8 # particular file as subject to the "Classpath" exception as provided
       
     9 # by Oracle in the LICENSE file that accompanied this code.
       
    10 #
       
    11 # This code is distributed in the hope that it will be useful, but WITHOUT
       
    12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
       
    13 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
       
    14 # version 2 for more details (a copy is included in the LICENSE file that
       
    15 # accompanied this code).
       
    16 #
       
    17 # You should have received a copy of the GNU General Public License version
       
    18 # 2 along with this work; if not, write to the Free Software Foundation,
       
    19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
       
    20 #
       
    21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
       
    22 # or visit www.oracle.com if you need additional information or have any
       
    23 # questions.
       
    24 #
       
    25 #
       
    26 
       
    27 MSG_Help_common=Usage: jpackage <mode> <options>\n\
       
    28 \n\
       
    29 where mode is one of: \n\
       
    30 \  create-image\n\
       
    31 \          Generates a platform-specific application image.\n\
       
    32 \  create-installer <type>\n\
       
    33 \          Generates a platform-specific installer for the application.\n\
       
    34 \          Valid values for "type" are "msi", "exe", "rpm", "deb", "dmg",\n\
       
    35 \                           "pkg", and "pkg-app-store".\n\
       
    36 \          If "type" is omitted, all supported types of installable packages\n\
       
    37 \          for current platform will be generated.\n\
       
    38 \  create-jre-installer <type>\n\
       
    39 \          Generates a platform-specific installer for Server JRE.\n\
       
    40 \          Valid values for "type" are "msi", "exe", "rpm", "deb", "dmg", \n\
       
    41 \                           and "pkg".\n\
       
    42 \          If "type" is omitted, all supported types of installable packages\n\
       
    43 \          for current platform will be generated.\n\
       
    44 \          \n\
       
    45 Sample usages:\n\
       
    46 --------------\n\
       
    47 jpackage create-image --input inputdir --output outputdir --name AppName --class package.ClassName --main-jar AppName.jar\n\
       
    48 or\n\
       
    49 jpackage create-image -o outputdir -n AppName -c package.ClassName -m moduleName -p modulePath\n\
       
    50 Generates an application image.\n\
       
    51 \n\
       
    52 jpackage create-installer -i inputdir -o outputdir -n "App Name" -c package.ClassName\n\
       
    53 Generates an application installer.\n\
       
    54 \n\
       
    55 jpackage create-jre-installer -n <jre_name> -o outputdir\n\
       
    56 Generates a Server JRE installer.\n\
       
    57 \n\
       
    58 The following options are valid for all platforms:\n\
       
    59 \  --help -h \n\
       
    60 \          Shows the usage text, followed by a list and description of each valid option for the current platform and the given mode.\n\
       
    61 \          If no mode is given, shows the usage text, followed by a list and description of each valid option for the current platform.\n\
       
    62 \          When this option is used, all other options are ignored.\n\
       
    63 \  --output -o <output dir>\n\
       
    64 \          Name of the directory where generated output file is placed.\n\
       
    65 \  --input -i <input dir>\n\
       
    66 \          Name of the input directory that contains the files to package.\n\
       
    67 \  --files -f <input files>\n\
       
    68 \          A {0} separated list of files in the input directory to be packaged.\n\
       
    69 \          If omitted, all files in the input directory will be packaged.\n\
       
    70 \  --name -n <application name>\n\
       
    71 \          Name of the application.\n\
       
    72 \  --main-jar -j <main jar name>\n\
       
    73 \          The main JAR of the application. This JAR should have the main-class,\n\
       
    74 \          and is relative to the assembled application directory.\n\
       
    75 \  --class -c <class name>\n\
       
    76 \          Qualified name of the application class to execute.\n\
       
    77 \  --version -v <version string>\n\
       
    78 \          Version of the application.\n\
       
    79 \  --arguments -a <main class arguments>\n\
       
    80 \          Command line arguments to pass to the main class if no arguments\n\
       
    81 \          are specified by the launcher.\n\
       
    82 \  --icon <icon file name>\n\
       
    83 \          Icon of the application bundle.\n\
       
    84 \  --singleton\n\
       
    85 \          Prevents multiple instances of the application from launching\n\
       
    86 \          (see SingleInstanceService API for more details).\n\
       
    87 \  --identifier <id string>\n\
       
    88 \          Machine readable identifier of the application. The format\n\
       
    89 \          must be a DNS name in reverse order, such as com.example.myapplication.\n\
       
    90 \  --verbose\n\
       
    91 \          Enables verbose output.\n\
       
    92 \  --strip-native-commands\n\
       
    93 \          Removes native executables from the custom run-time images.\n\
       
    94 \  --jvm-args <java vm arguments>\n\
       
    95 \          JVM flags and options to pass to the application.\n\
       
    96 \  --file-associations <file path>\n\
       
    97 \          Properties file that contains list of key=value parameters that\n\
       
    98 \          describe a file association. "extension", "mime-type", "icon",\n\
       
    99 \          "description" can be used as keys for the association.\n\
       
   100 \  --secondary-launcher <file path>\n\
       
   101 \          Properties file that contains a collection of options for a secondary launcher.\n\
       
   102 \  --build-root <file path>\n\
       
   103 \          Directory in which to use and place temporary files.\n\
       
   104 \  --runtime-image <file path>\n\
       
   105 \          Location of the predefined runtime image that is used to build\n\
       
   106 \          an application image and installable package.\n\
       
   107 \  --app-image <file path>\n\
       
   108 \          Location of the predefined application image that is used to build\n\
       
   109 \          an installable package.\n\
       
   110 \  --install-dir <file path>\n\
       
   111 \          Installation directory of the application. Ignored on Windows, use\n\
       
   112 \          --win-dir-chooser to provide an ability to choose an installation directory.\n\
       
   113 \  --license-file <file name>\n\
       
   114 \          The license file, relative to the input directory.\n\
       
   115 \  --copyright <copyright string>\n\
       
   116 \          Copyright for the application.\n\
       
   117 \  --description <description string>\n\
       
   118 \          Description of the application.\n\
       
   119 \  --category <category string>\n\
       
   120 \          Category or group of the application.\n\
       
   121 \  --vendor <vendor string>\n\
       
   122 \          Vendor of the application.\n\
       
   123 \  --force -- Allow the deletion of any existing output root directory when creating an Application image.\n\
       
   124 \n\
       
   125 Modular options:\n\
       
   126 \  --module -m <module name>\n\
       
   127 \          Main module of the application. This module must have the main-class,\n\
       
   128 \          and be on the module path.\n\
       
   129 \  --module-path -p <module path>\n\
       
   130 \          When packaging the Java Runtime, this is the path JLink looks in for modules.\n\
       
   131 \  --add-modules <module list>\n\
       
   132 \          A {0} separated list of modules to add to JImage creation,\n\
       
   133 \          including possible services.\n\
       
   134 \  --limit-modules <module list>\n\
       
   135 \          A {0} separated list of Modules to limit JImage creation to.\n\
       
   136 
       
   137 MSG_Help_mac=\nThe following options are valid for Mac OS X platforms:\n\
       
   138 \  --mac-sign\n\
       
   139 \          Request that the bundle be signed.\n\
       
   140 \  --mac-bundle-name <name string>\n\
       
   141 \          Name of the application as it appears in the Menu Bar. This can be\n\
       
   142 \          different from the application name. This name must be less than 16\n\
       
   143 \          characters long and be suitable for displaying in the menu bar and\n\
       
   144 \          the application Info window. Defaults to the application name.\n\
       
   145 \  --mac-bundle-identifier <ID string>\n\
       
   146 \          An identifier that uniquely identifies the application for MacOSX\n\
       
   147 \          (and on the Mac App Store).  May only use alphanumeric (A-Z,a-z,0-9),\n\
       
   148 \          hyphen (-), and period (.) characters.\n\
       
   149 \  --mac-app-store-category <category string>\n\
       
   150 \          Mac App Store Categories. Note that the key is the string shown to\n\
       
   151 \          the user and the value is the ID of the category.\n\
       
   152 \  --mac-app-store-entitlements <file path>\n\
       
   153 \          File location of a custom mac app store entitlements file.\n\
       
   154 \  --mac-bundle-signing-prefix <prefix string>\n\
       
   155 \          When signing the application bundle, this value is prefixed to all\n\
       
   156 \          components that need to be signed that don't have an existing bundle identifier.\n\
       
   157 \  --mac-signing-key-user-name <user name>\n\
       
   158 \          User name portion of the typical "Mac Developer ID Application: <user name>" signing key.\n\
       
   159 \  --mac-signing-keychain <file path>\n\
       
   160 \          Location of the keychain to use. If not specified, the standard keychains are used.\n\
       
   161 
       
   162 MSG_Help_linux=\nThe following options are valid for Linux platforms:\n\
       
   163 \  --linux-bundle-name <bundle name>\n\
       
   164 \          Name for Linux bundle. Defaults to the application name.\n\
       
   165 \  --linux-package-deps\n\
       
   166 \          Required packages or capabilities for the application.\n\
       
   167 \  --linux-rpm-license-type <type string>\n\
       
   168 \          Type of the license ("License: <value>" of the RPM .spec).\n\
       
   169 \  --linux-deb-maintainer <email address>\n\
       
   170 \          Maintainer for .deb bundle.\n\
       
   171 
       
   172 MSG_Help_win=\nThe following options are valid for Windows platforms:\n\
       
   173 \  --win-menu\n\
       
   174 \          Adds the application to the system menu.\n\
       
   175 \  --win-menu-group <menu group name>\n\
       
   176 \          Start Menu group this application is placed in.\n\
       
   177 \  --win-per-user-install\n\
       
   178 \          Request to perform an install on a per-user basis.\n\
       
   179 \  --win-dir-chooser\n\
       
   180 \          Adds a dialog to enable the user to choose a directory in which\n\
       
   181 \          the product is installed.\n\
       
   182 \  --win-registry-name <registry name>\n\
       
   183 \          Name of the application for registry references. Default is\n\
       
   184 \          the Application Name with only alphanumerics, dots, and dashes (no whitespace).\n\
       
   185 \  --win-upgrade-uuid <id string>\n\
       
   186 \          UUID associated with upgrades for this package.\n\
       
   187 \  --win-shortcut\n\
       
   188 \          Creates a desktop shortcut for the application.\n\
       
   189 \  --win-console\n\
       
   190 \          Creates a console launcher for the application. Should be specified for\n\
       
   191 \          application which requires console interactions.\n\
       
   192 
       
   193 MSG_Help_no_args=Usage: jpackage <mode> <options>\n\
       
   194 \Use --help for a list of possible options\