author | mchung |
Fri, 06 Mar 2015 09:07:32 -0800 | |
changeset 29369 | 8f9f8aa1e8e9 |
parent 25859 | jdk/src/jdk.dev/share/classes/sun/tools/jar/resources/jar.properties@3317bb8137f4 |
child 29914 | 48393dc87f88 |
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 |
||
26 |
error.cant.open=\ |
|
27 |
can''t open: {0} |
|
28 |
error.illegal.option=\ |
|
29 |
Illegal option: {0} |
|
30 |
error.bad.option=\ |
|
31 |
One of options -{ctxu} must be specified. |
|
32 |
error.bad.cflag=\ |
|
33 |
'c' flag requires manifest or input files to be specified! |
|
34 |
error.bad.uflag=\ |
|
35 |
'u' flag requires manifest, 'e' flag or input files to be specified! |
|
36 |
error.bad.eflag=\ |
|
37 |
'e' flag and manifest with the 'Main-Class' attribute cannot be specified \n\ |
|
38 |
together! |
|
39 |
error.nosuch.fileordir=\ |
|
40 |
{0} : no such file or directory |
|
41 |
error.write.file=\ |
|
42 |
Error in writing existing jar file |
|
43 |
error.create.dir=\ |
|
44 |
{0} : could not create directory |
|
45 |
error.incorrect.length=\ |
|
46 |
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
|
47 |
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
|
48 |
Could not create a temporary file |
2 | 49 |
out.added.manifest=\ |
50 |
added manifest |
|
51 |
out.update.manifest=\ |
|
52 |
updated manifest |
|
53 |
out.ignore.entry=\ |
|
54 |
ignoring entry {0} |
|
55 |
out.adding=\ |
|
56 |
adding: {0} |
|
57 |
out.deflated=\ |
|
58 |
(deflated {0}%) |
|
59 |
out.stored=\ |
|
60 |
(stored 0%) |
|
61 |
out.create=\ |
|
62 |
\ \ created: {0} |
|
63 |
out.extracted=\ |
|
64 |
extracted: {0} |
|
65 |
out.inflated=\ |
|
19811 | 66 |
\ inflated: {0} |
2 | 67 |
out.size=\ |
68 |
(in = {0}) (out= {1}) |
|
69 |
||
70 |
usage=\ |
|
21348
e30c5696b4c5
8020802: Need an ability to create jar files that are invariant to the pack200 packing/unpacking
kizune
parents:
19811
diff
changeset
|
71 |
Usage: jar {ctxui}[vfmn0Me] [jar-file] [manifest-file] [entry-point] [-C dir] files ...\n\ |
2 | 72 |
Options:\n\ |
73 |
\ \ -c create new archive\n\ |
|
74 |
\ \ -t list table of contents for archive\n\ |
|
75 |
\ \ -x extract named (or all) files from archive\n\ |
|
76 |
\ \ -u update existing archive\n\ |
|
77 |
\ \ -v generate verbose output on standard output\n\ |
|
78 |
\ \ -f specify archive file name\n\ |
|
79 |
\ \ -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
|
80 |
\ \ -n perform Pack200 normalization after creating a new archive\n\ |
2 | 81 |
\ \ -e specify application entry point for stand-alone application \n\ |
82 |
\ \ bundled into an executable jar file\n\ |
|
83 |
\ \ -0 store only; use no ZIP compression\n\ |
|
84 |
\ \ -M do not create a manifest file for the entries\n\ |
|
85 |
\ \ -i generate index information for the specified jar files\n\ |
|
86 |
\ \ -C change to the specified directory and include the following file\n\ |
|
87 |
If any file is a directory then it is processed recursively.\n\ |
|
88 |
The manifest file name, the archive file name and the entry point name are\n\ |
|
89 |
specified in the same order as the 'm', 'f' and 'e' flags.\n\n\ |
|
90 |
Example 1: to archive two class files into an archive called classes.jar: \n\ |
|
91 |
\ \ jar cvf classes.jar Foo.class Bar.class \n\ |
|
92 |
Example 2: use an existing manifest file 'mymanifest' and archive all the\n\ |
|
93 |
\ \ files in the foo/ directory into 'classes.jar': \n\ |
|
94 |
\ \ jar cvfm classes.jar mymanifest -C foo/ .\n |