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.public=\
  71         module-info.class in a versioned directory contains additional requires public
  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.provides.notequal=\
  79         module-info.class in a versioned directory contains different provides
  80 error.invalid.versioned.module.attribute=\
  81         Invalid module descriptor attribute {0}
  82 error.missing.provider=\
  83         Service provider not found: {0}
  84 error.release.value.notnumber=\
  85         release {0} not valid
  86 error.release.value.toosmall=\
  87         release {0} not valid, must be >= 9
  88 out.added.manifest=\
  89         added manifest
  90 out.added.module-info=\
  91         added module-info: {0}
  92 out.update.manifest=\
  93         updated manifest
  94 out.update.module-info=\
  95         updated module-info: {0}
  96 out.ignore.entry=\
  97         ignoring entry {0}
  98 out.adding=\
  99         adding: {0}
 100 out.deflated=\
 101         (deflated {0}%)
 102 out.stored=\
 103         (stored 0%)
 104 out.create=\
 105         \ \ created: {0}
 106 out.extracted=\
 107         extracted: {0}
 108 out.inflated=\
 109         \ inflated: {0}
 110 out.size=\
 111         (in = {0}) (out= {1})
 112 
 113 usage.compat=\
 114 \Compatibility Interface:\
 115 \n\
 116 Usage: jar {ctxui}[vfmn0PMe] [jar-file] [manifest-file] [entry-point] [-C dir] files] ...\n\
 117 Options:\n\
 118 \ \   -c  create new archive\n\
 119 \ \   -t  list table of contents for archive\n\
 120 \ \   -x  extract named (or all) files from archive\n\
 121 \ \   -u  update existing archive\n\
 122 \ \   -v  generate verbose output on standard output\n\
 123 \ \   -f  specify archive file name\n\
 124 \ \   -m  include manifest information from specified manifest file\n\
 125 \ \   -n  perform Pack200 normalization after creating a new archive\n\
 126 \ \   -e  specify application entry point for stand-alone application \n\
 127 \ \       bundled into an executable jar file\n\
 128 \ \   -0  store only; use no ZIP compression\n\
 129 \ \   -P  preserve leading '/' (absolute path) and ".." (parent directory) components from file names\n\
 130 \ \   -M  do not create a manifest file for the entries\n\
 131 \ \   -i  generate index information for the specified jar files\n\
 132 \ \   -C  change to the specified directory and include the following file\n\
 133 If any file is a directory then it is processed recursively.\n\
 134 The manifest file name, the archive file name and the entry point name are\n\
 135 specified in the same order as the 'm', 'f' and 'e' flags.\n\n\
 136 Example 1: to archive two class files into an archive called classes.jar: \n\
 137 \ \      jar cvf classes.jar Foo.class Bar.class \n\
 138 Example 2: use an existing manifest file 'mymanifest' and archive all the\n\
 139 \ \          files in the foo/ directory into 'classes.jar': \n\
 140 \ \      jar cvfm classes.jar mymanifest -C foo/ .\n
 141 
 142 main.usage.summary=\
 143 jar: You must specify one of -ctxui options.
 144 main.usage.summary.try=\
 145 Try `jar --help' for more information.
 146 
 147 main.help.preopt=\
 148 Usage: jar [OPTION...] [ [--release VERSION] [-C dir] files] ...\n\
 149 jar creates an archive for classes and resources, and can manipulate or\n\
 150 restore individual classes or resources from an archive.\n\
 151 \n\
 152 \ Examples:\n\
 153 \ # Create an archive called classes.jar with two class files:\n\
 154 \ jar --create --file classes.jar Foo.class Bar.class\n\
 155 \ # Create an archive using an existing manifest, with all the files in foo/:\n\
 156 \ jar --create --file classes.jar --manifest mymanifest -C foo/ .\n\
 157 \ # Create a modular jar archive, where the module descriptor is located in\n\
 158 \ # classes/module-info.class:\n\
 159 \ jar --create --file foo.jar --main-class com.foo.Main --module-version 1.0\n\
 160 \     -C foo/ classes resources\n\
 161 \ # Update an existing non-modular jar to a modular jar:\n\
 162 \ jar --update --file foo.jar --main-class com.foo.Main --module-version 1.0\n\
 163 \     -C foo/ module-info.class\n\
 164 \ # Create a multi-release jar, placing some files in the META-INF/versions/9 directory:\n\
 165 \ jar --create --file mr.jar -C foo classes --release 9 -C foo9 classes
 166 main.help.opt.main=\
 167 \ Main operation mode:\n
 168 main.help.opt.main.create=\
 169 \  -c, --create               Create the archive
 170 main.help.opt.main.generate-index=\
 171 \  -i, --generate-index=FILE  Generate index information for the specified jar\n\
 172 \                             archives
 173 main.help.opt.main.list=\
 174 \  -t, --list                 List the table of contents for the archive
 175 main.help.opt.main.update=\
 176 \  -u, --update               Update an existing jar archive
 177 main.help.opt.main.extract=\
 178 \  -x, --extract              Extract named (or all) files from the archive
 179 main.help.opt.main.print-module-descriptor=\
 180 \  -p, --print-module-descriptor  Print the module descriptor
 181 main.help.opt.any=\
 182 \ Operation modifiers valid in any mode:\n\
 183 \n\
 184 \  -C DIR                     Change to the specified directory and include the\n\
 185 \                             following file
 186 main.help.opt.any.file=\
 187 \  -f, --file=FILE            The archive file name\n\
 188 \      --release VERSION      Places all following files in a versioned directory\n\
 189 \                             of the jar (i.e. META-INF/versions/VERSION/)
 190 main.help.opt.any.verbose=\
 191 \  -v, --verbose              Generate verbose output on standard output
 192 main.help.opt.create.update=\
 193 \ Operation modifiers valid only in create and update mode:\n
 194 main.help.opt.create.update.main-class=\
 195 \  -e, --main-class=CLASSNAME The application entry point for stand-alone\n\
 196 \                             applications bundled into a modular, or executable,\n\
 197 \                             jar archive
 198 main.help.opt.create.update.manifest=\
 199 \  -m, --manifest=FILE        Include the manifest information from the given\n\
 200 \                             manifest file
 201 main.help.opt.create.update.no-manifest=\
 202 \  -M, --no-manifest          Do not create a manifest file for the entries
 203 main.help.opt.create.update.module-version=\
 204 \      --module-version=VERSION    The module version, when creating a modular\n\
 205 \                             jar, or updating a non-modular jar
 206 main.help.opt.create.update.hash-modules=\
 207 \      --hash-modules=PATTERN Compute and record the hashes of modules \n\
 208 \                             matched by the given pattern and that depend upon\n\
 209 \                             directly or indirectly on a modular jar being\n\
 210 \                             created or a non-modular jar being updated
 211 main.help.opt.create.update.modulepath=\
 212 \      --modulepath           Location of module dependence for generating
 213 \                             the hash
 214 main.help.opt.create.update.index=\
 215 \ Operation modifiers valid only in create, update, and generate-index mode:\n
 216 main.help.opt.create.update.index.no-compress=\
 217 \  -0, --no-compress          Store only; use no ZIP compression
 218 main.help.opt.other=\
 219 \ Other options:\n
 220 main.help.opt.other.help=\
 221 \  -?, --help[:compat]        Give this, or optionally the compatibility, help
 222 main.help.opt.other.version=\
 223 \      --version              Print program version
 224 main.help.postopt=\
 225 \ An archive is a modular jar if a module descriptor, 'module-info.class', is\n\
 226 \ located in the root of the given directories, or the root of the jar archive\n\
 227 \ itself. The following operations are only valid when creating a modular jar,\n\
 228 \ or updating an existing non-modular jar: '--module-version',\n\
 229 \ '--hash-modules', and '--modulepath'.\n\
 230 \n\
 231 \ Mandatory or optional arguments to long options are also mandatory or optional\n\
 232 \ for any corresponding short options.