author | alanb |
Tue, 03 May 2016 09:09:57 +0100 | |
changeset 37779 | 7c84df693837 |
parent 36511 | 9d0388c6b336 |
child 38468 | d459a0f8fe72 |
permissions | -rw-r--r-- |
2 | 1 |
# |
23010
6dadb192ad81
8029235: Update copyright year to match last edit in jdk8 jdk repository for 2013
lana
parents:
21348
diff
changeset
|
2 |
# Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved. |
2 | 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 |
|
5506 | 7 |
# published by the Free Software Foundation. Oracle designates this |
2 | 8 |
# particular file as subject to the "Classpath" exception as provided |
5506 | 9 |
# by Oracle in the LICENSE file that accompanied this code. |
2 | 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 |
# |
|
5506 | 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. |
|
2 | 24 |
# |
25 |
||
36511 | 26 |
error.multiple.main.operations=\ |
27 |
You may not specify more than one '-cuxti' options |
|
2 | 28 |
error.cant.open=\ |
36511 | 29 |
can''t open: {0} |
2 | 30 |
error.illegal.option=\ |
31 |
Illegal option: {0} |
|
36511 | 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 |
|
2 | 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} |
|
21348
e30c5696b4c5
8020802: Need an ability to create jar files that are invariant to the pack200 packing/unpacking
kizune
parents:
19811
diff
changeset
|
55 |
error.create.tempfile=\ |
e30c5696b4c5
8020802: Need an ability to create jar files that are invariant to the pack200 packing/unpacking
kizune
parents:
19811
diff
changeset
|
56 |
Could not create a temporary file |
36511 | 57 |
error.hash.dep=\ |
58 |
Hashing module {0} dependences, unable to find module {1} on module path |
|
59 |
error.module.options.without.info=\ |
|
37779
7c84df693837
8154956: Module system implementation refresh (4/2016)
alanb
parents:
36511
diff
changeset
|
60 |
One of --module-version or --hash-modules without module-info.class |
36511 | 61 |
error.unexpected.module-info=\ |
62 |
Unexpected module descriptor {0} |
|
63 |
error.module.descriptor.not.found=\ |
|
64 |
Module descriptor not found |
|
65 |
error.missing.provider=\ |
|
66 |
Service provider not found: {0} |
|
2 | 67 |
out.added.manifest=\ |
68 |
added manifest |
|
36511 | 69 |
out.added.module-info=\ |
70 |
added module-info.class |
|
2 | 71 |
out.update.manifest=\ |
72 |
updated manifest |
|
36511 | 73 |
out.update.module-info=\ |
74 |
updated module-info.class |
|
2 | 75 |
out.ignore.entry=\ |
76 |
ignoring entry {0} |
|
77 |
out.adding=\ |
|
78 |
adding: {0} |
|
79 |
out.deflated=\ |
|
80 |
(deflated {0}%) |
|
81 |
out.stored=\ |
|
82 |
(stored 0%) |
|
83 |
out.create=\ |
|
84 |
\ \ created: {0} |
|
85 |
out.extracted=\ |
|
86 |
extracted: {0} |
|
87 |
out.inflated=\ |
|
19811 | 88 |
\ inflated: {0} |
2 | 89 |
out.size=\ |
90 |
(in = {0}) (out= {1}) |
|
91 |
||
36511 | 92 |
usage.compat=\ |
93 |
\Compatibility Interface:\ |
|
94 |
\n\ |
|
29914 | 95 |
Usage: jar {ctxui}[vfmn0PMe] [jar-file] [manifest-file] [entry-point] [-C dir] files ...\n\ |
2 | 96 |
Options:\n\ |
97 |
\ \ -c create new archive\n\ |
|
98 |
\ \ -t list table of contents for archive\n\ |
|
99 |
\ \ -x extract named (or all) files from archive\n\ |
|
100 |
\ \ -u update existing archive\n\ |
|
101 |
\ \ -v generate verbose output on standard output\n\ |
|
102 |
\ \ -f specify archive file name\n\ |
|
103 |
\ \ -m include manifest information from specified manifest file\n\ |
|
21348
e30c5696b4c5
8020802: Need an ability to create jar files that are invariant to the pack200 packing/unpacking
kizune
parents:
19811
diff
changeset
|
104 |
\ \ -n perform Pack200 normalization after creating a new archive\n\ |
2 | 105 |
\ \ -e specify application entry point for stand-alone application \n\ |
106 |
\ \ bundled into an executable jar file\n\ |
|
107 |
\ \ -0 store only; use no ZIP compression\n\ |
|
29914 | 108 |
\ \ -P preserve leading '/' (absolute path) and ".." (parent directory) components from file names\n\ |
2 | 109 |
\ \ -M do not create a manifest file for the entries\n\ |
110 |
\ \ -i generate index information for the specified jar files\n\ |
|
111 |
\ \ -C change to the specified directory and include the following file\n\ |
|
112 |
If any file is a directory then it is processed recursively.\n\ |
|
113 |
The manifest file name, the archive file name and the entry point name are\n\ |
|
114 |
specified in the same order as the 'm', 'f' and 'e' flags.\n\n\ |
|
115 |
Example 1: to archive two class files into an archive called classes.jar: \n\ |
|
116 |
\ \ jar cvf classes.jar Foo.class Bar.class \n\ |
|
117 |
Example 2: use an existing manifest file 'mymanifest' and archive all the\n\ |
|
118 |
\ \ files in the foo/ directory into 'classes.jar': \n\ |
|
119 |
\ \ jar cvfm classes.jar mymanifest -C foo/ .\n |
|
36511 | 120 |
|
121 |
main.usage.summary=\ |
|
122 |
jar: You must specify one of -ctxui options. |
|
123 |
main.usage.summary.try=\ |
|
124 |
Try `jar --help' for more information. |
|
125 |
||
126 |
main.help.preopt=\ |
|
127 |
Usage: jar [OPTION...] [-C dir] files ...\n\ |
|
128 |
jar creates an archive for classes and resources, and can manipulate or\n\ |
|
129 |
restore individual classes or resources from an archive.\n\ |
|
130 |
\n\ |
|
131 |
\ Examples:\n\ |
|
132 |
\ # Create an archive called classes.jar with two class files:\n\ |
|
133 |
\ jar --create --file classes.jar Foo.class Bar.class\n\ |
|
134 |
\ # Create an archive using an existing manifest, with all the files in foo/:\n\ |
|
135 |
\ jar --create --file classes.jar --manifest mymanifest -C foo/ .\n\ |
|
136 |
\ # Create a modular jar archive, where the module descriptor is located in\n\ |
|
137 |
\ # classes/module-info.class:\n\ |
|
138 |
\ jar --create --file foo.jar --main-class com.foo.Main --module-version 1.0\n\ |
|
139 |
\ -C foo/ classes resources\n\ |
|
140 |
\ # Update an existing non-modular jar to a modular jar:\n\ |
|
141 |
\ jar --update --file foo.jar --main-class com.foo.Main --module-version 1.0\n\ |
|
142 |
\ -C foo/ module-info.class |
|
143 |
main.help.opt.main=\ |
|
144 |
\ Main operation mode:\n |
|
145 |
main.help.opt.main.create=\ |
|
146 |
\ -c, --create Create the archive |
|
147 |
main.help.opt.main.generate-index=\ |
|
148 |
\ -i, --generate-index=FILE Generate index information for the specified jar\n\ |
|
149 |
\ archives |
|
150 |
main.help.opt.main.list=\ |
|
151 |
\ -t, --list List the table of contents for the archive |
|
152 |
main.help.opt.main.update=\ |
|
153 |
\ -u, --update Update an existing jar archive |
|
154 |
main.help.opt.main.extract=\ |
|
155 |
\ -x, --extract Extract named (or all) files from the archive |
|
156 |
main.help.opt.main.print-module-descriptor=\ |
|
157 |
\ -p, --print-module-descriptor Print the module descriptor |
|
158 |
main.help.opt.any=\ |
|
159 |
\ Operation modifiers valid in any mode:\n\ |
|
160 |
\n\ |
|
161 |
\ -C DIR Change to the specified directory and include the\n\ |
|
162 |
\ following file |
|
163 |
main.help.opt.any.file=\ |
|
164 |
\ -f, --file=FILE The archive file name |
|
165 |
main.help.opt.any.verbose=\ |
|
166 |
\ -v, --verbose Generate verbose output on standard output |
|
167 |
main.help.opt.create.update=\ |
|
168 |
\ Operation modifiers valid only in create and update mode:\n |
|
169 |
main.help.opt.create.update.main-class=\ |
|
170 |
\ -e, --main-class=CLASSNAME The application entry point for stand-alone\n\ |
|
171 |
\ applications bundled into a modular, or executable,\n\ |
|
172 |
\ jar archive |
|
173 |
main.help.opt.create.update.manifest=\ |
|
174 |
\ -m, --manifest=FILE Include the manifest information from the given\n\ |
|
175 |
\ manifest file |
|
176 |
main.help.opt.create.update.no-manifest=\ |
|
177 |
\ -M, --no-manifest Do not create a manifest file for the entries |
|
178 |
main.help.opt.create.update.module-version=\ |
|
179 |
\ --module-version=VERSION The module version, when creating a modular\n\ |
|
180 |
\ jar, or updating a non-modular jar |
|
37779
7c84df693837
8154956: Module system implementation refresh (4/2016)
alanb
parents:
36511
diff
changeset
|
181 |
main.help.opt.create.update.hash-modules=\ |
7c84df693837
8154956: Module system implementation refresh (4/2016)
alanb
parents:
36511
diff
changeset
|
182 |
\ --hash-modules=PATTERN Compute and record the hashes of modules \n\ |
7c84df693837
8154956: Module system implementation refresh (4/2016)
alanb
parents:
36511
diff
changeset
|
183 |
\ matched by the given pattern and that depend upon\n\ |
7c84df693837
8154956: Module system implementation refresh (4/2016)
alanb
parents:
36511
diff
changeset
|
184 |
\ directly or indirectly on a modular jar being\n\ |
7c84df693837
8154956: Module system implementation refresh (4/2016)
alanb
parents:
36511
diff
changeset
|
185 |
\ created or a non-modular jar being updated |
36511 | 186 |
main.help.opt.create.update.modulepath=\ |
187 |
\ --modulepath Location of module dependence for generating |
|
188 |
\ the hash |
|
189 |
main.help.opt.create.update.index=\ |
|
190 |
\ Operation modifiers valid only in create, update, and generate-index mode:\n |
|
191 |
main.help.opt.create.update.index.no-compress=\ |
|
192 |
\ -0, --no-compress Store only; use no ZIP compression |
|
193 |
main.help.opt.other=\ |
|
194 |
\ Other options:\n |
|
195 |
main.help.opt.other.help=\ |
|
196 |
\ -?, --help[:compat] Give this, or optionally the compatibility, help |
|
197 |
main.help.opt.other.version=\ |
|
198 |
\ --version Print program version |
|
199 |
main.help.postopt=\ |
|
200 |
\ An archive is a modular jar if a module descriptor, 'module-info.class', is\n\ |
|
201 |
\ located in the root of the given directories, or the root of the jar archive\n\ |
|
202 |
\ itself. The following operations are only valid when creating a modular jar,\n\ |
|
203 |
\ or updating an existing non-modular jar: '--module-version',\n\ |
|
37779
7c84df693837
8154956: Module system implementation refresh (4/2016)
alanb
parents:
36511
diff
changeset
|
204 |
\ '--hash-modules', and '--modulepath'.\n\ |
36511 | 205 |
\n\ |
206 |
\ Mandatory or optional arguments to long options are also mandatory or optional\n\ |
|
207 |
\ for any corresponding short options. |