src/jdk.jpackage/share/classes/jdk/jpackage/internal/resources/HelpResources.properties
branchJDK-8200758-branch
changeset 57414 6eda749d3117
parent 57397 89549ecec1c7
child 57741 38856ef4a19c
equal deleted inserted replaced
57413:45c74e654794 57414:6eda749d3117
    22 # or visit www.oracle.com if you need additional information or have any
    22 # or visit www.oracle.com if you need additional information or have any
    23 # questions.
    23 # questions.
    24 #
    24 #
    25 #
    25 #
    26 
    26 
    27 MSG_Help=Usage: jpackage <mode> <options>\n\
    27 MSG_Help=Usage: jpackage <options>\n\
    28 \n\
    28 \n\
    29 where mode is one of: \n\
       
    30 \  create-app-image\n\
       
    31 \          Generates a platform-specific application image.\n\
       
    32 \  create-installer\n\
       
    33 \          Generates a platform-specific installer for the application.\n\
       
    34 \          \n\
       
    35 Sample usages:\n\
    29 Sample usages:\n\
    36 --------------\n\
    30 --------------\n\
    37 \    Generate a non-modular application image:\n\
    31 \    Generate a non-modular application image:\n\
    38 \        jpackage create-app-image -o outputdir -i inputdir -n name \\\n\
    32 \        jpackage -o outputdir -i inputdir -n name \\\n\
    39 \            --main-class className --main-jar MyJar.jar\n\
    33 \            --main-class className --main-jar MyJar.jar\n\
    40 \    Generate a modular application image:\n\
    34 \    Generate a modular application image:\n\
    41 \        jpackage create-app-image -o outputdir -n name \\\n\
    35 \        jpackage -o outputdir -n name -p modulePath -m moduleName/className\n\
    42 \            -p modulePath -m moduleName/className\n\
       
    43 \        To provide your own options to jlink, run jlink separately:\n\
    36 \        To provide your own options to jlink, run jlink separately:\n\
    44 \            jlink --output appRuntimeImage -p ModulePath -m moduleName \\\n\
    37 \            jlink --output appRuntimeImage -p ModulePath -m moduleName \\\n\
    45 \                --no-header-files [<additional jlink options>...]\n\
    38 \                --no-header-files [<additional jlink options>...]\n\
    46 \            jpackage create-app-image -o outputdir -n name \\\n\
    39 \            jpackage -o outputdir -n name \\\n\
    47 \                -m moduleName/className --runtime-image appRuntimeImage\n\
    40 \                -m moduleName/className --runtime-image appRuntimeImage\n\
    48 \    Generate an application installer:\n\
    41 \    Generate an application package:\n\
    49 \        jpackage create-installer -o outputdir -n name \\\n\
    42 \        jpackage --package-type <type> -o outputdir -n name \\\n\
    50 \            -p modulePath -m moduleName/className\n\
    43 \            -p modulePath -m moduleName/className\n\
    51 \        jpackage create-installer -i inputdir -o outputdir -n name \\\n\
    44 \        jpackage --package-type <type> -i inputdir -o outputdir -n name \\\n\
    52 \            --main-class package.ClassName --main-jar MyJar.jar\n\
    45 \            --main-class package.ClassName --main-jar MyJar.jar\n\
    53 \        jpackage create-installer -o outputdir -n <installer-name> \\\n\
    46 \        jpackage --package-type <type> -o outputdir -n name \\\n\
    54 \            --app-image <app image dir> [--installer-type <type>]\n\
    47 \            --app-image <app image dir>\n\
    55 \    Generate a Java runtime installer:\n\
    48 \    Generate a Java runtime package:\n\
    56 \        jpackage create-installer -o outputdir -n name \\\n\
    49 \        jpackage --package-type <type> -o outputdir -n name \\\n\
    57 \            --runtime-image <runtime-image>\n\
    50 \            --runtime-image <runtime-image>\n\
    58 \n\
    51 \n\
    59 Generic Options:\n\
    52 Generic Options:\n\
    60 \  @<filename> \n\
    53 \  @<filename> \n\
    61 \          Read options and/or mode from a file \n\
    54 \          Read options and/or mode from a file \n\
    62 \          This option can be used multiple times.\n\
    55 \          This option can be used multiple times.\n\
       
    56 \  --package-type <type> \n\
       
    57 \          The type of package to create\n\
       
    58 \          Valid values are: {1} \n\
       
    59 \          If this option is not specified an application image will be\n\
       
    60 \          created.\n\
    63 \  --app-version <version>\n\
    61 \  --app-version <version>\n\
    64 \          Version of the application and/or installer\n\
    62 \          Version of the application and/or package\n\
    65 \  --copyright <copyright string>\n\
    63 \  --copyright <copyright string>\n\
    66 \          Copyright for the application\n\
    64 \          Copyright for the application\n\
    67 \  --description <description string>\n\
    65 \  --description <description string>\n\
    68 \          Description of the application\n\
    66 \          Description of the application\n\
    69 \  --help -h \n\
    67 \  --help -h \n\
    70 \          Print the usage text with a list and description of each valid\n\
    68 \          Print the usage text with a list and description of each valid\n\
    71 \          option for the current platform to the output stream, and exit\n\
    69 \          option for the current platform to the output stream, and exit\n\
    72 \  --name -n <name>\n\
    70 \  --name -n <name>\n\
    73 \          Name of the application and/or installer\n\
    71 \          Name of the application and/or package\n\
    74 \  --output -o <output path>\n\
    72 \  --output -o <output path>\n\
    75 \          Path where generated output file is placed\n\
    73 \          Path where generated output file is placed\n\
    76 \          (absolute path or relative to the current directory)\n\
    74 \          (absolute path or relative to the current directory)\n\
    77 \  --temp-root <file path>\n\
    75 \  --temp-root <file path>\n\
    78 \          Path of a new or empty directory used to create temporary files\n\
    76 \          Path of a new or empty directory used to create temporary files\n\
   157 \          This module must be located on the module path.\n\
   155 \          This module must be located on the module path.\n\
   158 \          When this option is specified, the main module will be linked\n\
   156 \          When this option is specified, the main module will be linked\n\
   159 \          in the Java runtime image.  Either --module or --main-jar\n\
   157 \          in the Java runtime image.  Either --module or --main-jar\n\
   160 \          option can be specified but not both.\n\
   158 \          option can be specified but not both.\n\
   161 {2}\n\
   159 {2}\n\
   162 \Options for creating the application installer(s):\n\
   160 \Options for creating the application package:\n\
   163 \  --app-image <file path>\n\
   161 \  --app-image <file path>\n\
   164 \          Location of the predefined application image that is used\n\
   162 \          Location of the predefined application image that is used\n\
   165 \          to build an installable package\n\
   163 \          to build an installable package\n\
   166 \          (absolute path or relative to the current directory)\n\
   164 \          (absolute path or relative to the current directory)\n\
   167 \          See create-app-image mode options to create the application image.\n\
       
   168 \  --file-associations <file path>\n\
   165 \  --file-associations <file path>\n\
   169 \          Path to a Properties file that contains list of key, value pairs\n\
   166 \          Path to a Properties file that contains list of key, value pairs\n\
   170 \          (absolute path or relative to the current directory)\n\
   167 \          (absolute path or relative to the current directory)\n\
   171 \          The keys "extension", "mime-type", "icon", and "description"\n\
   168 \          The keys "extension", "mime-type", "icon", and "description"\n\
   172 \          can be used to describe the association.\n\
   169 \          can be used to describe the association.\n\
   175 \          An identifier that uniquely identifies the application\n\
   172 \          An identifier that uniquely identifies the application\n\
   176 \          Defaults to the main class name.\n\
   173 \          Defaults to the main class name.\n\
   177 \          The value should be a valid DNS name.\n\
   174 \          The value should be a valid DNS name.\n\
   178 \  --install-dir <file path>\n\
   175 \  --install-dir <file path>\n\
   179 \          {4}\
   176 \          {4}\
   180 \  --installer-type <type> \n\
       
   181 \          The type of the installer to create\n\
       
   182 \          Valid values are: {1} \n\
       
   183 \          If this option is not specified (in create-installer mode) all\n\
       
   184 \          supported types of installable packages for the current\n\
       
   185 \          platform will be created.\n\
       
   186 \  --license-file <file path>\n\
   177 \  --license-file <file path>\n\
   187 \          Path to the license file\n\
   178 \          Path to the license file\n\
   188 \          (absolute path or relative to the current directory)\n\
   179 \          (absolute path or relative to the current directory)\n\
   189 \  --resource-dir <path>\n\
   180 \  --resource-dir <path>\n\
   190 \          Path to override jpackage resources\n\
   181 \          Path to override jpackage resources\n\
   192 \          over-ridden by adding replacement resources to this directory.\n\
   183 \          over-ridden by adding replacement resources to this directory.\n\
   193 \          (absolute path or relative to the current directory)\n\
   184 \          (absolute path or relative to the current directory)\n\
   194 \  --runtime-image <file-path>\n\
   185 \  --runtime-image <file-path>\n\
   195 \          Path of the predefined runtime image to install\n\
   186 \          Path of the predefined runtime image to install\n\
   196 \          (absolute path or relative to the current directory)\n\
   187 \          (absolute path or relative to the current directory)\n\
   197 \          Option is required when creating a runtime installer.\n\
   188 \          Option is required when creating a runtime package.\n\
   198 \n\
   189 \n\
   199 \Platform dependent options for creating the application installer(s):\n\
   190 \Platform dependent options for creating the application package:\n\
   200 {3}
   191 {3}
   201 
   192 
   202 MSG_Help_win_launcher=\
   193 MSG_Help_win_launcher=\
   203 \n\
   194 \n\
   204 \Platform dependent option for creating the application launcher:\n\
   195 \Platform dependent option for creating the application launcher:\n\