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 -o outputdir -i inputdir -n name \\\n\ 33 \ --main-class className --main-jar MyJar.jar\n\ 34 \ Generate a modular application image:\n\ 35 \ jpackage -o outputdir -n name -p modulePath -m moduleName/className\n\ 36 \ To provide your own options to jlink, run jlink separately:\n\ 37 \ jlink --output appRuntimeImage -p ModulePath -m moduleName \\\n\ 38 \ --no-header-files [<additional jlink options>...]\n\ 39 \ jpackage -o outputdir -n name \\\n\ 40 \ -m moduleName/className --runtime-image appRuntimeImage\n\ 41 \ Generate an application package:\n\ 42 \ jpackage --package-type <type> -o outputdir -n name \\\n\ 43 \ -p modulePath -m moduleName/className\n\ 44 \ jpackage --package-type <type> -i inputdir -o outputdir -n name \\\n\ 45 \ --main-class package.ClassName --main-jar MyJar.jar\n\ 46 \ jpackage --package-type <type> -o outputdir -n name \\\n\ 47 \ --app-image <app image dir>\n\ 48 \ Generate a Java runtime package:\n\ 49 \ jpackage --package-type <type> -o outputdir -n name \\\n\ 50 \ --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 \ --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\ 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\ 69 \ option for the current platform to the output stream, and exit\n\ 70 \ --name -n <name>\n\ 71 \ Name of the application and/or package\n\ 72 \ --output -o <output path>\n\ 73 \ Path where generated output file is placed\n\ 74 \ (absolute path or relative to the current directory)\n\ 75 \ --temp-root <file path>\n\ 76 \ Path of a new or empty directory used to create temporary files\n\ 77 \ (absolute path or relative to the current directory)\n\ 78 \ If specified, the temp-root will not be removed upon the task\n\ 79 \ completion and must be removed manually\n\ 80 \ If not specified, a temporary directory will be created and\n\ | 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 --package-type app-image -o outputdir -i inputdir -n name \\\n\ 33 \ --main-class className --main-jar MyJar.jar\n\ 34 \ Generate a modular application image:\n\ 35 \ jpackage --package-type app-image -o outputdir -n name -p modulePath -m moduleName/className\n\ 36 \ To provide your own options to jlink, run jlink separately:\n\ 37 \ jlink --output appRuntimeImage -p ModulePath -m moduleName \\\n\ 38 \ --no-header-files [<additional jlink options>...]\n\ 39 \ jpackage --package-type app-image -o outputdir -n name \\\n\ 40 \ -m moduleName/className --runtime-image appRuntimeImage\n\ 41 \ Generate an application package:\n\ 42 \ jpackage --package-type <type> -o outputdir -n name \\\n\ 43 \ -p modulePath -m moduleName/className\n\ 44 \ jpackage --package-type <type> -i inputdir -o outputdir -n name \\\n\ 45 \ --main-class package.ClassName --main-jar MyJar.jar\n\ 46 \ jpackage --package-type <type> -o outputdir -n name \\\n\ 47 \ --app-image <app image dir>\n\ 48 \ Generate a Java runtime package:\n\ 49 \ jpackage -o outputdir -n name --runtime-image <runtime-image>\n\ 50 \n\ 51 Generic Options:\n\ 52 \ @<filename> \n\ 53 \ Read options and/or mode from a file \n\ 54 \ This option can be used multiple times.\n\ 55 \ --package-type <type> \n\ 56 \ The type of package to create\n\ 57 \ Valid values are: {1} \n\ 58 \ If this option is not specified a platform dependent\n\ 59 \ default package type will be created.\n\ 60 \ --app-version <version>\n\ 61 \ Version of the application and/or package\n\ 62 \ --copyright <copyright string>\n\ 63 \ Copyright for the application\n\ 64 \ --description <description string>\n\ 65 \ Description of the application\n\ 66 \ --help -h \n\ 67 \ Print the usage text with a list and description of each valid\n\ 68 \ option for the current platform to the output stream, and exit\n\ 69 \ --name -n <name>\n\ 70 \ Name of the application and/or package\n\ 71 \ --output -o <output path>\n\ 72 \ Path where generated output file is placed\n\ 73 \ (absolute path or relative to the current directory)\n\ 74 \ --temp-root <file path>\n\ 75 \ Path of a new or empty directory used to create temporary files\n\ 76 \ (absolute path or relative to the current directory)\n\ 77 \ If specified, the temp-root will not be removed upon the task\n\ 78 \ completion and must be removed manually\n\ 79 \ If not specified, a temporary directory will be created and\n\ |