1 #
   2 # Copyright (c) 2015, 2016, 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 main.usage.summary=\
  27 Usage: {0} (create|extract|list|describe|hash) <OPTIONS> <jmod-file>\n\
  28 use --help for a list of possible options
  29 
  30 main.usage=\
  31 Usage: {0} (create|extract|list|describe|hash) <OPTIONS> <jmod-file>\n\
  32 
  33 error.prefix=Error:
  34 warn.prefix=Warning:
  35 
  36 main.opt.mode=\
  37 \Main operation modes:
  38 main.opt.mode.create=\
  39 \create    - Creates a new jmod archive
  40 main.opt.mode.extract=\
  41 \extract   - Extracts all the files from the archive
  42 main.opt.mode.list=\
  43 \list      - Prints the names of all the entries
  44 main.opt.mode.describe=\
  45 \describe  - Prints the module details
  46 main.opt.mode.hash=\
  47 \hash      - Records hashes of tied modules.
  48 
  49 main.opt.help=Print this usage message
  50 main.opt.version=Version information
  51 main.opt.class-path=Application jar files|dir containing classes
  52 main.opt.libs=Location of native libraries
  53 main.opt.cmds=Location of native commands
  54 main.opt.config=Location of user-editable config files
  55 main.opt.extractDir=Target directory for extract
  56 main.opt.dry-run=Dry run of hash mode
  57 main.opt.exclude=Exclude files matching the supplied comma separated pattern\
  58 \ list, each element using one the following forms: <glob-pattern>,\
  59 \ glob:<glob-pattern> or regex:<regex-pattern>
  60 main.opt.header-files=Location of header files
  61 main.opt.module-version= Module version
  62 main.opt.main-class=Main class
  63 main.opt.main-class.arg=class-name
  64 main.opt.man-pages=Location of man pages
  65 main.opt.os-name=Operating system name
  66 main.opt.os-name.arg=os-name
  67 main.opt.os-arch=Operating system architecture
  68 main.opt.os-arch.arg=os-arch
  69 main.opt.os-version=Operating system version
  70 main.opt.os-version.arg=os-version
  71 main.opt.module-path=Module path
  72 main.opt.hash-modules=Compute and record hashes to tie a packaged module\
  73 \ with modules matching the given <regex-pattern> and depending upon it directly\
  74 \ or indirectly. The hashes are recorded in the JMOD file being created, or\
  75 \ a JMOD file or modular JAR on the module path specified the jmod hash command.
  76 
  77 main.opt.cmdfile=Read options from the specified file
  78 
  79 module.hashes.recorded=Hashes are recorded in module {0}
  80 
  81 err.missing.mode=one of create, extract, list, describe, or hash must be specified
  82 err.invalid.mode=mode must be one of create, extract, list, describe, or hash: {0}
  83 err.cannot.create.dir=cannot create directory {0}
  84 err.classpath.must.be.specified=--class-path must be specified
  85 err.jmod.must.be.specified=jmod-file must be specified
  86 err.invalid.version=invalid module version {0}
  87 err.output.must.be.specified=--output must be specified
  88 err.mods.must.be.specified=--mods must be specified
  89 err.modulepath.must.be.specified=--module-path must be specified when hashing modules
  90 err.invalid.main-class=invalid main-class name: {0}
  91 err.path.not.found=path not found: {0}
  92 err.path.not.valid=invalid path: {0}
  93 err.path.not.a.dir=path must be a directory: {0}
  94 err.invalid.class.path.entry=invalid class path entry: {0}
  95 err.file.already.exists=file already exists: {0}
  96 err.jmod.not.found=no jmod file found: {0}
  97 err.bad.pattern=bad pattern {0}
  98 err.unknown.option=unknown option(s): {0}
  99 err.missing.arg=no value given for {0}
 100 err.internal.error=internal error: {0} {1} {2}
 101 err.invalid.dryrun.option=--dry-run can only be used with hash mode
 102 err.module.descriptor.not.found=Module descriptor not found
 103 warn.invalid.arg=Invalid classname or pathname not exist: {0}
 104 warn.no.module.hashes=No hashes recorded: no module specified for hashing depends on {0}
 105 warn.module.resolution.fail=No hashes recorded: {0}
 106 warn.ignore.entry=ignoring entry {0}, in section {1}
 107 warn.ignore.duplicate.entry=ignoring duplicate entry {0}, in section{1}
 108 
 109