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