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