1 #
   2 # Copyright (c) 1999, 2013, 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 error.multiple.main.operations=\
  27      You may not specify more than one '-cuxtid' options
  28 error.cant.open=\
  29      can''t open: {0}
  30 error.illegal.option=\
  31         Illegal option: {0}
  32 error.unrecognized.option=\
  33     unrecognized option : {0}
  34 error.missing.arg=\
  35      option {0} requires an argument
  36 error.bad.file.arg=\
  37      Error parsing file arguments
  38 error.bad.option=\
  39         One of options -{ctxuid} must be specified.
  40 error.bad.cflag=\
  41         'c' flag requires manifest or input files to be specified!
  42 error.bad.uflag=\
  43         'u' flag requires manifest, 'e' flag or input files to be specified!
  44 error.bad.eflag=\
  45         'e' flag and manifest with the 'Main-Class' attribute cannot be specified \n\
  46          together!
  47 error.bad.dflag=\
  48         '-d, --describe-module' option requires no input file(s) to be specified: {0}
  49 error.bad.reason=\
  50         bad reason: {0}, must be one of deprecated, deprecated-for-removal, or incubating
  51 error.nosuch.fileordir=\
  52         {0} : no such file or directory
  53 error.write.file=\
  54         Error in writing existing jar file
  55 error.create.dir=\
  56         {0} : could not create directory
  57 error.incorrect.length=\
  58         incorrect length while processing: {0}
  59 error.create.tempfile=\
  60         Could not create a temporary file
  61 error.expected.find.module=\
  62         Expected to find automatic module at {0}
  63 error.hash.dep=\
  64         Hashing module {0} dependences, unable to find module {1} on module path
  65 error.module.options.without.info=\
  66         One of --module-version or --hash-modules without module-info.class
  67 error.unable.derive.automodule=\
  68         Unable to derive module descriptor for: {0}
  69 error.unexpected.module-info=\
  70         Unexpected module descriptor {0}
  71 error.module.descriptor.not.found=\
  72         Module descriptor not found
  73 error.invalid.versioned.module.attribute=\
  74         Invalid module descriptor attribute {0}
  75 error.missing.provider=\
  76         Service provider not found: {0}
  77 error.release.value.notnumber=\
  78         release {0} not valid
  79 error.release.value.toosmall=\
  80         release {0} not valid, must be >= 9
  81 error.release.unexpected.versioned.entry=\
  82         unexpected versioned entry {0} for release {1}
  83 error.validator.jarfile.exception=\
  84         can not validate {0}: {1}
  85 error.validator.jarfile.invalid=\
  86         invalid multi-release jar file {0} deleted
  87 error.validator.bad.entry.name=\
  88         entry name malformed, {0}
  89 error.validator.version.notnumber=\
  90         entry name: {0}, does not have a version number
  91 error.validator.entryname.tooshort=\
  92         entry name: {0}, too short, not a directory
  93 error.validator.isolated.nested.class=\
  94         entry: {0}, is an isolated nested class
  95 error.validator.new.public.class=\
  96         entry: {0}, contains a new public class not found in base entries
  97 error.validator.incompatible.class.version=\
  98         entry: {0}, has a class version incompatible with an earlier version
  99 error.validator.different.api=\
 100         entry: {0}, contains a class with different api from earlier version
 101 error.validator.names.mismatch=\
 102         entry: {0}, contains a class with internal name {1}, names do not match
 103 error.validator.info.name.notequal=\
 104         module-info.class in a versioned directory contains incorrect name
 105 error.validator.info.requires.transitive=\
 106         module-info.class in a versioned directory contains additional "requires transitive"
 107 error.validator.info.requires.added=\
 108         module-info.class in a versioned directory contains additional "requires"
 109 error.validator.info.requires.dropped=\
 110         module-info.class in a versioned directory contains missing "requires"
 111 error.validator.info.exports.notequal=\
 112         module-info.class in a versioned directory contains different "exports"
 113 error.validator.info.opens.notequal=\
 114         module-info.class in a versioned directory contains different "opens"
 115 error.validator.info.provides.notequal=\
 116         module-info.class in a versioned directory contains different "provides"
 117 error.validator.info.version.notequal=\
 118         {0}: module-info.class in a versioned directory contains different "version"
 119 error.validator.info.manclass.notequal=\
 120         {0}: module-info.class in a versioned directory contains different "main-class"
 121 warn.validator.identical.entry=\
 122         Warning: entry {0} contains a class that\n\
 123         is identical to an entry already in the jar
 124 warn.validator.resources.with.same.name=\
 125         Warning: entry {0}, multiple resources with same name
 126 warn.validator.concealed.public.class=\
 127         Warning: entry {0} is a public class\n\
 128         in a concealed package, placing this jar on the class path will result\n\
 129         in incompatible public interfaces
 130 warn.release.unexpected.versioned.entry=\
 131         unexpected versioned entry {0}
 132 out.added.manifest=\
 133         added manifest
 134 out.added.module-info=\
 135         added module-info: {0}
 136 out.automodule.name=\
 137         No module descriptor found. Derived automatic module name: {0}
 138 out.update.manifest=\
 139         updated manifest
 140 out.update.module-info=\
 141         updated module-info: {0}
 142 out.ignore.entry=\
 143         ignoring entry {0}
 144 out.adding=\
 145         adding: {0}
 146 out.deflated=\
 147         (deflated {0}%)
 148 out.stored=\
 149         (stored 0%)
 150 out.create=\
 151         \ \ created: {0}
 152 out.extracted=\
 153         extracted: {0}
 154 out.inflated=\
 155         \ inflated: {0}
 156 out.size=\
 157         (in = {0}) (out= {1})
 158 
 159 usage.compat=\
 160 \Compatibility Interface:\
 161 \n\
 162 Usage: jar {ctxui}[vfmn0PMe] [jar-file] [manifest-file] [entry-point] [-C dir] files] ...\n\
 163 Options:\n\
 164 \ \   -c  create new archive\n\
 165 \ \   -t  list table of contents for archive\n\
 166 \ \   -x  extract named (or all) files from archive\n\
 167 \ \   -u  update existing archive\n\
 168 \ \   -v  generate verbose output on standard output\n\
 169 \ \   -f  specify archive file name\n\
 170 \ \   -m  include manifest information from specified manifest file\n\
 171 \ \   -n  perform Pack200 normalization after creating a new archive\n\
 172 \ \   -e  specify application entry point for stand-alone application \n\
 173 \ \       bundled into an executable jar file\n\
 174 \ \   -0  store only; use no ZIP compression\n\
 175 \ \   -P  preserve leading '/' (absolute path) and ".." (parent directory) components from file names\n\
 176 \ \   -M  do not create a manifest file for the entries\n\
 177 \ \   -i  generate index information for the specified jar files\n\
 178 \ \   -C  change to the specified directory and include the following file\n\
 179 If any file is a directory then it is processed recursively.\n\
 180 The manifest file name, the archive file name and the entry point name are\n\
 181 specified in the same order as the 'm', 'f' and 'e' flags.\n\n\
 182 Example 1: to archive two class files into an archive called classes.jar: \n\
 183 \ \      jar cvf classes.jar Foo.class Bar.class \n\
 184 Example 2: use an existing manifest file 'mymanifest' and archive all the\n\
 185 \ \          files in the foo/ directory into 'classes.jar': \n\
 186 \ \      jar cvfm classes.jar mymanifest -C foo/ .\n
 187 
 188 main.usage.summary=\
 189 Usage: jar [OPTION...] [ [--release VERSION] [-C dir] files] ...
 190 main.usage.summary.try=\
 191 Try `jar --help' for more information.
 192 
 193 main.help.preopt=\
 194 Usage: jar [OPTION...] [ [--release VERSION] [-C dir] files] ...\n\
 195 jar creates an archive for classes and resources, and can manipulate or\n\
 196 restore individual classes or resources from an archive.\n\
 197 \n\
 198 \ Examples:\n\
 199 \ # Create an archive called classes.jar with two class files:\n\
 200 \ jar --create --file classes.jar Foo.class Bar.class\n\
 201 \ # Create an archive using an existing manifest, with all the files in foo/:\n\
 202 \ jar --create --file classes.jar --manifest mymanifest -C foo/ .\n\
 203 \ # Create a modular jar archive, where the module descriptor is located in\n\
 204 \ # classes/module-info.class:\n\
 205 \ jar --create --file foo.jar --main-class com.foo.Main --module-version 1.0\n\
 206 \     -C foo/ classes resources\n\
 207 \ # Update an existing non-modular jar to a modular jar:\n\
 208 \ jar --update --file foo.jar --main-class com.foo.Main --module-version 1.0\n\
 209 \     -C foo/ module-info.class\n\
 210 \ # Create a multi-release jar, placing some files in the META-INF/versions/9 directory:\n\
 211 \ jar --create --file mr.jar -C foo classes --release 9 -C foo9 classes\n\
 212 \n\
 213 To shorten or simplify the jar command, you can specify arguments in a separate\n\
 214 text file and pass it to the jar command with the at sign (@) as a prefix.\n\
 215 \n\
 216 \ Examples:\n\
 217 \ # Read additional options and list of class files from the file classes.list\n\
 218 \ jar --create --file my.jar @classes.list\
 219 \n
 220 main.help.opt.main=\
 221 \ Main operation mode:\n
 222 main.help.opt.main.create=\
 223 \  -c, --create               Create the archive
 224 main.help.opt.main.generate-index=\
 225 \  -i, --generate-index=FILE  Generate index information for the specified jar\n\
 226 \                             archives
 227 main.help.opt.main.list=\
 228 \  -t, --list                 List the table of contents for the archive
 229 main.help.opt.main.update=\
 230 \  -u, --update               Update an existing jar archive
 231 main.help.opt.main.extract=\
 232 \  -x, --extract              Extract named (or all) files from the archive
 233 main.help.opt.main.describe-module=\
 234 \  -d, --describe-module      Print the module descriptor, or automatic module name
 235 main.help.opt.any=\
 236 \ Operation modifiers valid in any mode:\n\
 237 \n\
 238 \  -C DIR                     Change to the specified directory and include the\n\
 239 \                             following file
 240 main.help.opt.any.file=\
 241 \  -f, --file=FILE            The archive file name. When omitted, either stdin or\n\
 242 \                             stdout is used based on the operation\n\
 243 \      --release VERSION      Places all following files in a versioned directory\n\
 244 \                             of the jar (i.e. META-INF/versions/VERSION/)
 245 main.help.opt.any.verbose=\
 246 \  -v, --verbose              Generate verbose output on standard output
 247 main.help.opt.create=\
 248 \ Operation modifiers valid only in create mode:\n
 249 main.help.opt.create.normalize=\
 250 \  -n, --normalize            Normalize information in the new jar archive\n\
 251 \                             after creation
 252 main.help.opt.create.update=\
 253 \ Operation modifiers valid only in create and update mode:\n
 254 main.help.opt.create.update.main-class=\
 255 \  -e, --main-class=CLASSNAME The application entry point for stand-alone\n\
 256 \                             applications bundled into a modular, or executable,\n\
 257 \                             jar archive
 258 main.help.opt.create.update.manifest=\
 259 \  -m, --manifest=FILE        Include the manifest information from the given\n\
 260 \                             manifest file
 261 main.help.opt.create.update.no-manifest=\
 262 \  -M, --no-manifest          Do not create a manifest file for the entries
 263 main.help.opt.create.update.module-version=\
 264 \      --module-version=VERSION    The module version, when creating a modular\n\
 265 \                             jar, or updating a non-modular jar
 266 main.help.opt.create.update.hash-modules=\
 267 \      --hash-modules=PATTERN Compute and record the hashes of modules \n\
 268 \                             matched by the given pattern and that depend upon\n\
 269 \                             directly or indirectly on a modular jar being\n\
 270 \                             created or a non-modular jar being updated
 271 main.help.opt.create.update.module-path=\
 272 \  -p, --module-path          Location of module dependence for generating\n\
 273 \                             the hash
 274 main.help.opt.create.update.do-not-resolve-by-default=\
 275 \      --do-not-resolve-by-default  Exclude from the default root set of modules
 276 main.help.opt.create.update.warn-if-resolved=\
 277 \      --warn-if-resolved     Hint for a tool to issue a warning if the module\n\
 278 \                             is resolved. One of deprecated, deprecated-for-removal,\n\
 279 \                             or incubating
 280 main.help.opt.create.update.index=\
 281 \ Operation modifiers valid only in create, update, and generate-index mode:\n
 282 main.help.opt.create.update.index.no-compress=\
 283 \  -0, --no-compress          Store only; use no ZIP compression
 284 main.help.opt.other=\
 285 \ Other options:\n
 286 main.help.opt.other.help=\
 287 \  -h, --help[:compat]        Give this, or optionally the compatibility, help
 288 main.help.opt.other.help-extra=\
 289 \      --help-extra           Give help on extra options
 290 main.help.opt.other.version=\
 291 \      --version              Print program version
 292 main.help.postopt=\
 293 \ An archive is a modular jar if a module descriptor, 'module-info.class', is\n\
 294 \ located in the root of the given directories, or the root of the jar archive\n\
 295 \ itself. The following operations are only valid when creating a modular jar,\n\
 296 \ or updating an existing non-modular jar: '--module-version',\n\
 297 \ '--hash-modules', and '--module-path'.\n\
 298 \n\
 299 \ Mandatory or optional arguments to long options are also mandatory or optional\n\
 300 \ for any corresponding short options.