< prev index next >

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

Print this page




  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=Usage: jpackage <options>\n\
  28 \n\
  29 Sample usages:\n\
  30 --------------\n\
  31 \    Generate a non-modular application image:\n\
  32 \        jpackage -t app-image -d destdir -i inputdir -n name \\\n\
  33 \            --main-class className --main-jar MyJar.jar\n\
  34 \    Generate a modular application image:\n\
  35 \        jpackage -t app-image -n name -p modulePath \\\n\






  36 \            -m moduleName/className\n\



  37 \        To provide your own options to jlink, run jlink separately:\n\
  38 \            jlink --output appRuntimeImage -p ModulePath -m moduleName \\\n\
  39 \                --no-header-files [<additional jlink options>...]\n\
  40 \            jpackage -t app-image -n name \\\n\
  41 \                -m moduleName/className --runtime-image appRuntimeImage\n\
  42 \    Generate an application package:\n\
  43 \        jpackage -t <type> -n name \\\n\
  44 \            -p modulePath -m moduleName/className\n\
  45 \        jpackage -t <type> -i inputdir -n name \\\n\
  46 \            --main-class package.ClassName --main-jar MyJar.jar\n\
  47 \        jpackage -t <type> -n name \\\n\
  48 \            --app-image <app image dir>\n\
  49 \    Generate a Java runtime package:\n\
  50 \        jpackage -n name --runtime-image <runtime-image>\n\
  51 \n\
  52 Generic Options:\n\
  53 \  @<filename> \n\
  54 \          Read options and/or mode from a file \n\
  55 \          This option can be used multiple times.\n\
  56 \  --type -t <type> \n\
  57 \          The type of package to create\n\
  58 \          Valid values are: {1} \n\
  59 \          If this option is not specified a platform dependent\n\
  60 \          default type will be created.\n\
  61 \  --app-version <version>\n\
  62 \          Version of the application and/or package\n\
  63 \  --copyright <copyright string>\n\
  64 \          Copyright for the application\n\
  65 \  --description <description string>\n\
  66 \          Description of the application\n\
  67 \  --help -h \n\
  68 \          Print the usage text with a list and description of each valid\n\


  95 \          if not specified, either just the main module (if --module is\n\
  96 \          specified), or the default set of modules (if --main-jar is \n\
  97 \          specified) are used.\n\
  98 \          This option can be used multiple times.\n\
  99 \  --module-path -p <module path>...\n\
 100 \          A {0} separated list of paths\n\
 101 \          Each path is either a directory of modules or the path to a\n\
 102 \          modular jar.\n\
 103 \          (each path is absolute or relative to the current directory)\n\
 104 \          This option can be used multiple times.\n\
 105 \  --bind-services \n\
 106 \          Pass on --bind-services option to jlink (which will link in \n\
 107 \          service provider modules and their dependences) \n\
 108 \  --runtime-image <file path>\n\
 109 \          Path of the predefined runtime image that will be copied into\n\
 110 \          the application image\n\
 111 \          (absolute path or relative to the current directory)\n\
 112 \          If --runtime-image is not specified, jpackage will run jlink to\n\
 113 \          create the runtime image using options:\n\
 114 \          --strip-debug, --no-header-files, --no-man-pages, and\n\
 115 \          --strip-native-commands.  --bind-services will also be added if\n\
 116 \          --add-modules is not specified.\n\
 117 \n\
 118 \Options for creating the application image:\n\
 119 \  --icon <icon file path>\n\
 120 \          Path of the icon of the application package\n\
 121 \          (absolute path or relative to the current directory)\n\
 122 \  --input -i <input path>\n\
 123 \          Path of the input directory that contains the files to be packaged\n\
 124 \          (absolute path or relative to the current directory)\n\
 125 \          All files in the input directory will be packaged into the\n\
 126 \          application image.\n\
 127 \n\
 128 \Options for creating the application launcher(s):\n\
 129 \  --add-launcher <launcher name>=<file path>\n\
 130 \          Name of launcher, and a path to a Properties file that contains\n\
 131 \          a list of key, value pairs\n\
 132 \          (absolute path or relative to the current directory)\n\
 133 \          The keys "module", "main-jar", "main-class",\n\
 134 \          "arguments", "java-options", "app-version", "icon", and\n\
 135 \          "win-console" can be used.\n\
 136 \          These options are added to, or used to overwrite, the original\n\


 252 \          Required packages or capabilities for the application\n\
 253 \  --linux-rpm-license-type <type string>\n\
 254 \          Type of the license ("License: <value>" of the RPM .spec)\n\
 255 \  --linux-app-release <release value>\n\
 256 \          Release value of the RPM <name>.spec file or \n\
 257 \          Debian revision value of the DEB control file.\n\
 258 \  --linux-app-category <category value>\n\
 259 \          Group value of the RPM <name>.spec file or \n\
 260 \          Section value of DEB control file.\n\
 261 \  --linux-shortcut\n\
 262 \          Creates a shortcut for the application\n\
 263 
 264 MSG_Help_mac_linux_install_dir=\
 265 \Absolute path of the installation directory of the application\n\
 266 
 267 MSG_Help_default_install_dir=\
 268 \Absolute path of the installation directory of the application on OS X\n\
 269 \          or Linux. Relative sub-path of the installation location of\n\
 270 \          the application such as "Program Files" or "AppData" on Windows.\n\
 271 
 272 MSG_Help_no_args=Usage: jpackage <mode> <options>\n\
 273 \Use jpackage --help (or -h) for a list of possible options\
 274 


  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=Usage: jpackage <options>\n\
  28 \n\
  29 Sample usages:\n\
  30 --------------\n\
  31 \    Generate an application package suitable for the host system:\n\
  32 \        For a modular application:\n\
  33 \            jpackage -n name -p modulePath -m moduleName/className\n\
  34 \        For a non-modular application:\n\
  35 \            jpackage -i inputdir -n name \\\n\
  36 \                --main-class package.ClassName --main-jar MyJar.jar\n\
  37 \        From a pre-built application image:\n\
  38 \            jpackage -n name --app-image <app image dir>\n\
  39 \    Generate an application image:\n\
  40 \        For a modular application:\n\
  41 \            jpackage --type app-image -n name -p modulePath \\\n\
  42 \                -m moduleName/className\n\
  43 \        For a non-modular application:\n\
  44 \            jpackage --type app-image -i inputdir -n name \\\n\
  45 \                --main-class package.ClassName --main-jar MyJar.jar\n\
  46 \        To provide your own options to jlink, run jlink separately:\n\
  47 \            jlink --output appRuntimeImage -p ModulePath -m moduleName \\\n\
  48 \                --no-header-files [<additional jlink options>...]\n\
  49 \            jpackage --type app-image -n name \\\n\
  50 \                -m moduleName/ClassName --runtime-image appRuntimeImage\n\







  51 \    Generate a Java runtime package:\n\
  52 \        jpackage -n name --runtime-image <runtime-image>\n\
  53 \n\
  54 Generic Options:\n\
  55 \  @<filename> \n\
  56 \          Read options and/or mode from a file \n\
  57 \          This option can be used multiple times.\n\
  58 \  --type -t <type> \n\
  59 \          The type of package to create\n\
  60 \          Valid values are: {1} \n\
  61 \          If this option is not specified a platform dependent\n\
  62 \          default type will be created.\n\
  63 \  --app-version <version>\n\
  64 \          Version of the application and/or package\n\
  65 \  --copyright <copyright string>\n\
  66 \          Copyright for the application\n\
  67 \  --description <description string>\n\
  68 \          Description of the application\n\
  69 \  --help -h \n\
  70 \          Print the usage text with a list and description of each valid\n\


  97 \          if not specified, either just the main module (if --module is\n\
  98 \          specified), or the default set of modules (if --main-jar is \n\
  99 \          specified) are used.\n\
 100 \          This option can be used multiple times.\n\
 101 \  --module-path -p <module path>...\n\
 102 \          A {0} separated list of paths\n\
 103 \          Each path is either a directory of modules or the path to a\n\
 104 \          modular jar.\n\
 105 \          (each path is absolute or relative to the current directory)\n\
 106 \          This option can be used multiple times.\n\
 107 \  --bind-services \n\
 108 \          Pass on --bind-services option to jlink (which will link in \n\
 109 \          service provider modules and their dependences) \n\
 110 \  --runtime-image <file path>\n\
 111 \          Path of the predefined runtime image that will be copied into\n\
 112 \          the application image\n\
 113 \          (absolute path or relative to the current directory)\n\
 114 \          If --runtime-image is not specified, jpackage will run jlink to\n\
 115 \          create the runtime image using options:\n\
 116 \          --strip-debug, --no-header-files, --no-man-pages, and\n\
 117 \          --strip-native-commands.\n\

 118 \n\
 119 \Options for creating the application image:\n\
 120 \  --icon <icon file path>\n\
 121 \          Path of the icon of the application package\n\
 122 \          (absolute path or relative to the current directory)\n\
 123 \  --input -i <input path>\n\
 124 \          Path of the input directory that contains the files to be packaged\n\
 125 \          (absolute path or relative to the current directory)\n\
 126 \          All files in the input directory will be packaged into the\n\
 127 \          application image.\n\
 128 \n\
 129 \Options for creating the application launcher(s):\n\
 130 \  --add-launcher <launcher name>=<file path>\n\
 131 \          Name of launcher, and a path to a Properties file that contains\n\
 132 \          a list of key, value pairs\n\
 133 \          (absolute path or relative to the current directory)\n\
 134 \          The keys "module", "main-jar", "main-class",\n\
 135 \          "arguments", "java-options", "app-version", "icon", and\n\
 136 \          "win-console" can be used.\n\
 137 \          These options are added to, or used to overwrite, the original\n\


 253 \          Required packages or capabilities for the application\n\
 254 \  --linux-rpm-license-type <type string>\n\
 255 \          Type of the license ("License: <value>" of the RPM .spec)\n\
 256 \  --linux-app-release <release value>\n\
 257 \          Release value of the RPM <name>.spec file or \n\
 258 \          Debian revision value of the DEB control file.\n\
 259 \  --linux-app-category <category value>\n\
 260 \          Group value of the RPM <name>.spec file or \n\
 261 \          Section value of DEB control file.\n\
 262 \  --linux-shortcut\n\
 263 \          Creates a shortcut for the application\n\
 264 
 265 MSG_Help_mac_linux_install_dir=\
 266 \Absolute path of the installation directory of the application\n\
 267 
 268 MSG_Help_default_install_dir=\
 269 \Absolute path of the installation directory of the application on OS X\n\
 270 \          or Linux. Relative sub-path of the installation location of\n\
 271 \          the application such as "Program Files" or "AppData" on Windows.\n\
 272 
 273 MSG_Help_no_args=Usage: jpackage <options>\n\
 274 \Use jpackage --help (or -h) for a list of possible options\
 275 
< prev index next >