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