jar.properties revision 14911:90c4052c87d2
144574Sphk#
244574Sphk# Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
345294Sphk# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
444574Sphk#
544574Sphk# This code is free software; you can redistribute it and/or modify it
644574Sphk# under the terms of the GNU General Public License version 2 only, as
744574Sphk# published by the Free Software Foundation.  Oracle designates this
844574Sphk# particular file as subject to the "Classpath" exception as provided
944574Sphk# by Oracle in the LICENSE file that accompanied this code.
1044574Sphk#
1144574Sphk# This code is distributed in the hope that it will be useful, but WITHOUT
1244574Sphk# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
1344574Sphk# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
1444574Sphk# version 2 for more details (a copy is included in the LICENSE file that
1544574Sphk# accompanied this code).
1644574Sphk#
1744574Sphk# You should have received a copy of the GNU General Public License version
182858Swollman# 2 along with this work; if not, write to the Free Software Foundation,
192858Swollman# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
2044574Sphk#
2144666Sphk# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
222858Swollman# or visit www.oracle.com if you need additional information or have any
2344574Sphk# questions.
2444574Sphk#
2544574Sphk
2621101Sjhayerror.multiple.main.operations=\
2744574Sphk     You may not specify more than one '-cuxti' options
2844574Sphkerror.cant.open=\
2944574Sphk     can''t open: {0}
302858Swollmanerror.illegal.option=\
3132925Seivind        Illegal option: {0}
3244666Sphkerror.unrecognized.option=\
3344666Sphk    unrecognized option : {0}
342858Swollmanerror.missing.arg=\
352858Swollman     option {0} requires an argument
3612221Sbdeerror.bad.file.arg=\
372858Swollman     Error parsing file arguments
382858Swollmanerror.bad.option=\
3944574Sphk        One of options -{ctxu} must be specified.
402858Swollmanerror.bad.cflag=\
4136941Sphk        'c' flag requires manifest or input files to be specified!
422858Swollmanerror.bad.uflag=\
432858Swollman        'u' flag requires manifest, 'e' flag or input files to be specified!
442858Swollmanerror.bad.eflag=\
4544574Sphk	'e' flag and manifest with the 'Main-Class' attribute cannot be specified \n\
4644574Sphk	 together!
4744574Sphkerror.nosuch.fileordir=\
4844574Sphk        {0} : no such file or directory
4944574Sphkerror.write.file=\
5044574Sphk        Error in writing existing jar file
5144574Sphkerror.create.dir=\
5244574Sphk        {0} : could not create directory
5344574Sphkerror.incorrect.length=\
5444574Sphk        incorrect length while processing: {0}
5544574Sphkerror.create.tempfile=\
5644574Sphk        Could not create a temporary file
5744574Sphkerror.hash.dep=\
5844574Sphk        Hashing module {0} dependences, unable to find module {1} on module path
5944574Sphkerror.module.options.without.info=\
6044574Sphk        One of --module-version or --hash-modules without module-info.class
6144574Sphkerror.unexpected.module-info=\
6244574Sphk        Unexpected module descriptor {0}
6344574Sphkerror.module.descriptor.not.found=\
6444574Sphk        Module descriptor not found
6544574Sphkerror.versioned.info.without.root=\
6644574Sphk        module-info.class found in a versioned directory without module-info.class \
6732513Sphk        in the root
6844574Sphkerror.versioned.info.name.notequal=\
6944574Sphk        module-info.class in a versioned directory contains incorrect name
7044574Sphkerror.versioned.info.requires.public=\
7144574Sphk        module-info.class in a versioned directory contains additional requires public
7244574Sphkerror.versioned.info.requires.added=\
7344574Sphk        module-info.class in a versioned directory contains additional requires
7444574Sphkerror.versioned.info.requires.dropped=\
7544574Sphk        module-info.class in a versioned directory contains missing requires
7644574Sphkerror.versioned.info.exports.notequal=\
7732513Sphk        module-info.class in a versioned directory contains different exports
7845294Sphkerror.versioned.info.provides.notequal=\
7944574Sphk        module-info.class in a versioned directory contains different provides
8044574Sphkerror.invalid.versioned.module.attribute=\
8145294Sphk        Invalid module descriptor attribute {0}
8245294Sphkerror.missing.provider=\
8345294Sphk        Service provider not found: {0}
8445294Sphkerror.release.value.notnumber=\
8545294Sphk        release {0} not valid
8645294Sphkerror.release.value.toosmall=\
8745294Sphk        release {0} not valid, must be >= 9
8845294Sphkout.added.manifest=\
8932513Sphk        added manifest
9044574Sphkout.added.module-info=\
9144574Sphk        added module-info: {0}
9244574Sphkout.update.manifest=\
9344574Sphk        updated manifest
9444574Sphkout.update.module-info=\
9532513Sphk        updated module-info: {0}
9644574Sphkout.ignore.entry=\
9744574Sphk        ignoring entry {0}
9844574Sphkout.adding=\
9944574Sphk        adding: {0}
10044574Sphkout.deflated=\
10144574Sphk        (deflated {0}%)
10244574Sphkout.stored=\
10332513Sphk        (stored 0%)
10444574Sphkout.create=\
10544574Sphk        \ \ created: {0}
10644574Sphkout.extracted=\
10745294Sphk        extracted: {0}
10832513Sphkout.inflated=\
10944574Sphk        \ inflated: {0}
11044574Sphkout.size=\
11144574Sphk        (in = {0}) (out= {1})
11244574Sphk
11344574Sphkusage.compat=\
11444574Sphk\Compatibility Interface:\
11544574Sphk\n\
11632513SphkUsage: jar {ctxui}[vfmn0PMe] [jar-file] [manifest-file] [entry-point] [-C dir] files] ...\n\
11744574SphkOptions:\n\
11844574Sphk\ \   -c  create new archive\n\
11944574Sphk\ \   -t  list table of contents for archive\n\
12045294Sphk\ \   -x  extract named (or all) files from archive\n\
12132513Sphk\ \   -u  update existing archive\n\
12244574Sphk\ \   -v  generate verbose output on standard output\n\
12344574Sphk\ \   -f  specify archive file name\n\
12444574Sphk\ \   -m  include manifest information from specified manifest file\n\
12544574Sphk\ \   -n  perform Pack200 normalization after creating a new archive\n\
12644574Sphk\ \   -e  specify application entry point for stand-alone application \n\
12744574Sphk\ \       bundled into an executable jar file\n\
12844574Sphk\ \   -0  store only; use no ZIP compression\n\
1292858Swollman\ \   -P  preserve leading '/' (absolute path) and ".." (parent directory) components from file names\n\
13032513Sphk\ \   -M  do not create a manifest file for the entries\n\
13132513Sphk\ \   -i  generate index information for the specified jar files\n\
13244574Sphk\ \   -C  change to the specified directory and include the following file\n\
13332513SphkIf any file is a directory then it is processed recursively.\n\
13444574SphkThe manifest file name, the archive file name and the entry point name are\n\
13544574Sphkspecified in the same order as the 'm', 'f' and 'e' flags.\n\n\
13632513SphkExample 1: to archive two class files into an archive called classes.jar: \n\
13744574Sphk\ \      jar cvf classes.jar Foo.class Bar.class \n\
13844574SphkExample 2: use an existing manifest file 'mymanifest' and archive all the\n\
13944574Sphk\ \          files in the foo/ directory into 'classes.jar': \n\
14044574Sphk\ \      jar cvfm classes.jar mymanifest -C foo/ .\n
14144574Sphk
14244574Sphkmain.usage.summary=\
14344574Sphkjar: You must specify one of -ctxui options.
14444574Sphkmain.usage.summary.try=\
14544574SphkTry `jar --help' for more information.
14644574Sphk
14744574Sphkmain.help.preopt=\
14845294SphkUsage: jar [OPTION...] [ [--release VERSION] [-C dir] files] ...\n\
14945294Sphkjar creates an archive for classes and resources, and can manipulate or\n\
1502858Swollmanrestore individual classes or resources from an archive.\n\
1512858Swollman\n\
15244574Sphk\ Examples:\n\
15344574Sphk\ # Create an archive called classes.jar with two class files:\n\
15444574Sphk\ jar --create --file classes.jar Foo.class Bar.class\n\
15544574Sphk\ # Create an archive using an existing manifest, with all the files in foo/:\n\
1562858Swollman\ jar --create --file classes.jar --manifest mymanifest -C foo/ .\n\
15744574Sphk\ # Create a modular jar archive, where the module descriptor is located in\n\
15845294Sphk\ # classes/module-info.class:\n\
15944574Sphk\ jar --create --file foo.jar --main-class com.foo.Main --module-version 1.0\n\
16044574Sphk\     -C foo/ classes resources\n\
16144574Sphk\ # Update an existing non-modular jar to a modular jar:\n\
16244574Sphk\ jar --update --file foo.jar --main-class com.foo.Main --module-version 1.0\n\
16332513Sphk\     -C foo/ module-info.class\n\
16444574Sphk\ # Create a multi-release jar, placing some files in the META-INF/versions/9 directory:\n\
16544574Sphk\ jar --create --file mr.jar -C foo classes --release 9 -C foo9 classes
16644574Sphkmain.help.opt.main=\
16744574Sphk\ Main operation mode:\n
16844574Sphkmain.help.opt.main.create=\
16944574Sphk\  -c, --create               Create the archive
17044574Sphkmain.help.opt.main.generate-index=\
17144574Sphk\  -i, --generate-index=FILE  Generate index information for the specified jar\n\
17245294Sphk\                             archives
17344574Sphkmain.help.opt.main.list=\
17444574Sphk\  -t, --list                 List the table of contents for the archive
17544574Sphkmain.help.opt.main.update=\
17644574Sphk\  -u, --update               Update an existing jar archive
17744574Sphkmain.help.opt.main.extract=\
17844574Sphk\  -x, --extract              Extract named (or all) files from the archive
17944574Sphkmain.help.opt.main.print-module-descriptor=\
18044574Sphk\  -p, --print-module-descriptor  Print the module descriptor
18132513Sphkmain.help.opt.any=\
18232513Sphk\ Operation modifiers valid in any mode:\n\
18332513Sphk\n\
18444574Sphk\  -C DIR                     Change to the specified directory and include the\n\
18544574Sphk\                             following file
18644574Sphkmain.help.opt.any.file=\
18744574Sphk\  -f, --file=FILE            The archive file name\n\
1882858Swollman\      --release VERSION      Places all following files in a versioned directory\n\
18932513Sphk\                             of the jar (i.e. META-INF/versions/VERSION/)
19044574Sphkmain.help.opt.any.verbose=\
19132513Sphk\  -v, --verbose              Generate verbose output on standard output
19232513Sphkmain.help.opt.create.update=\
19344574Sphk\ Operation modifiers valid only in create and update mode:\n
19444574Sphkmain.help.opt.create.update.main-class=\
19532513Sphk\  -e, --main-class=CLASSNAME The application entry point for stand-alone\n\
19633690Sphk\                             applications bundled into a modular, or executable,\n\
19744574Sphk\                             jar archive
19833690Sphkmain.help.opt.create.update.manifest=\
19944574Sphk\  -m, --manifest=FILE        Include the manifest information from the given\n\
20033690Sphk\                             manifest file
20112279Sphkmain.help.opt.create.update.no-manifest=\
20212279Sphk\  -M, --no-manifest          Do not create a manifest file for the entries
2032858Swollmanmain.help.opt.create.update.module-version=\
20444574Sphk\      --module-version=VERSION    The module version, when creating a modular\n\
20544574Sphk\                             jar, or updating a non-modular jar
2062858Swollmanmain.help.opt.create.update.hash-modules=\
20744574Sphk\      --hash-modules=PATTERN Compute and record the hashes of modules \n\
20844574Sphk\                             matched by the given pattern and that depend upon\n\
20944574Sphk\                             directly or indirectly on a modular jar being\n\
2102858Swollman\                             created or a non-modular jar being updated
2112858Swollmanmain.help.opt.create.update.modulepath=\
2122858Swollman\      --modulepath           Location of module dependence for generating
2132858Swollman\                             the hash
2142858Swollmanmain.help.opt.create.update.index=\
21544574Sphk\ Operation modifiers valid only in create, update, and generate-index mode:\n
21644574Sphkmain.help.opt.create.update.index.no-compress=\
21744574Sphk\  -0, --no-compress          Store only; use no ZIP compression
21844574Sphkmain.help.opt.other=\
2192858Swollman\ Other options:\n
2202858Swollmanmain.help.opt.other.help=\
2212858Swollman\  -?, --help[:compat]        Give this, or optionally the compatibility, help
22244574Sphkmain.help.opt.other.version=\
2232858Swollman\      --version              Print program version
2242858Swollmanmain.help.postopt=\
22544574Sphk\ An archive is a modular jar if a module descriptor, 'module-info.class', is\n\
22644574Sphk\ located in the root of the given directories, or the root of the jar archive\n\
2272858Swollman\ itself. The following operations are only valid when creating a modular jar,\n\
22844574Sphk\ or updating an existing non-modular jar: '--module-version',\n\
22944574Sphk\ '--hash-modules', and '--modulepath'.\n\
2302858Swollman\n\
2312858Swollman\ Mandatory or optional arguments to long options are also mandatory or optional\n\
23244574Sphk\ for any corresponding short options.