|
1 # |
|
2 # Copyright 1999-2006 Sun Microsystems, Inc. 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. Sun designates this |
|
8 # particular file as subject to the "Classpath" exception as provided |
|
9 # by Sun 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, |
|
22 # CA 95054 USA or visit www.sun.com if you need additional information or |
|
23 # have any questions. |
|
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} |
|
47 out.added.manifest=\ |
|
48 added manifest |
|
49 out.update.manifest=\ |
|
50 updated manifest |
|
51 out.ignore.entry=\ |
|
52 ignoring entry {0} |
|
53 out.adding=\ |
|
54 adding: {0} |
|
55 out.deflated=\ |
|
56 (deflated {0}%) |
|
57 out.stored=\ |
|
58 (stored 0%) |
|
59 out.create=\ |
|
60 \ \ created: {0} |
|
61 out.extracted=\ |
|
62 extracted: {0} |
|
63 out.inflated=\ |
|
64 \ \inflated: {0} |
|
65 out.size=\ |
|
66 (in = {0}) (out= {1}) |
|
67 |
|
68 usage=\ |
|
69 Usage: jar {ctxui}[vfm0Me] [jar-file] [manifest-file] [entry-point] [-C dir] files ...\n\ |
|
70 Options:\n\ |
|
71 \ \ -c create new archive\n\ |
|
72 \ \ -t list table of contents for archive\n\ |
|
73 \ \ -x extract named (or all) files from archive\n\ |
|
74 \ \ -u update existing archive\n\ |
|
75 \ \ -v generate verbose output on standard output\n\ |
|
76 \ \ -f specify archive file name\n\ |
|
77 \ \ -m include manifest information from specified manifest file\n\ |
|
78 \ \ -e specify application entry point for stand-alone application \n\ |
|
79 \ \ bundled into an executable jar file\n\ |
|
80 \ \ -0 store only; use no ZIP compression\n\ |
|
81 \ \ -M do not create a manifest file for the entries\n\ |
|
82 \ \ -i generate index information for the specified jar files\n\ |
|
83 \ \ -C change to the specified directory and include the following file\n\ |
|
84 If any file is a directory then it is processed recursively.\n\ |
|
85 The manifest file name, the archive file name and the entry point name are\n\ |
|
86 specified in the same order as the 'm', 'f' and 'e' flags.\n\n\ |
|
87 Example 1: to archive two class files into an archive called classes.jar: \n\ |
|
88 \ \ jar cvf classes.jar Foo.class Bar.class \n\ |
|
89 Example 2: use an existing manifest file 'mymanifest' and archive all the\n\ |
|
90 \ \ files in the foo/ directory into 'classes.jar': \n\ |
|
91 \ \ jar cvfm classes.jar mymanifest -C foo/ .\n |