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