|
1 .'" t |
|
2 ." |
|
3 ." Copyright 2004-2006 Sun Microsystems, Inc. All Rights Reserved. |
|
4 ." DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
|
5 ." |
|
6 ." This code is free software; you can redistribute it and/or modify it |
|
7 ." under the terms of the GNU General Public License version 2 only, as |
|
8 ." published by the Free Software Foundation. |
|
9 ." |
|
10 ." This code is distributed in the hope that it will be useful, but WITHOUT |
|
11 ." ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
12 ." FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
13 ." version 2 for more details (a copy is included in the LICENSE file that |
|
14 ." accompanied this code). |
|
15 ." |
|
16 ." You should have received a copy of the GNU General Public License version |
|
17 ." 2 along with this work; if not, write to the Free Software Foundation, |
|
18 ." Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
19 ." |
|
20 ." Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, |
|
21 ." CA 95054 USA or visit www.sun.com if you need additional information or |
|
22 ." have any questions. |
|
23 ." |
|
24 ." ` |
|
25 .TH unpack200 1 "05 Aug 2006" |
|
26 ." Generated by html2roff |
|
27 |
|
28 .LP |
|
29 .SH NAME |
|
30 unpack200 \- JAR Unpacking tool |
|
31 .LP |
|
32 .SH "SYNOPSIS" |
|
33 .LP |
|
34 |
|
35 .LP |
|
36 .LP |
|
37 \f4unpack200\fP\f2 [ \fP\f2options\fP ] \f2input\-file\fP \f2JAR\-file\fP |
|
38 .LP |
|
39 .LP |
|
40 Options may be in any order. The last option on the command line supersedes all previously specified options. |
|
41 .LP |
|
42 .RS 3 |
|
43 |
|
44 .LP |
|
45 .TP 3 |
|
46 input\-file |
|
47 Name of the input file, which can be a pack200 gzip file or a pack200 file. The input could also be JAR file produced by pack200(1) with an effort of 0. In this case the contents of the input file will be copied to the output JAR file with the Pack200 marker. |
|
48 .TP 3 |
|
49 JAR\-file |
|
50 Name of the output JAR file. |
|
51 .LP |
|
52 .RE |
|
53 .SH "DESCRIPTION" |
|
54 .LP |
|
55 |
|
56 .LP |
|
57 .LP |
|
58 \f2unpack200\fP is a native implementation that transforms a packed file produced by \f2pack200\fP(1) into a JAR file. Typical usage: |
|
59 .LP |
|
60 .RS 3 |
|
61 |
|
62 .LP |
|
63 .LP |
|
64 \f2% unpack200 myarchive.pack.gz myarchive.jar\fP |
|
65 .LP |
|
66 .RE |
|
67 .LP |
|
68 In this example, the \f2myarchive.jar\fP is produced from \f2myarchive.pack.gz\fP using the default \f2unpack200\fP settings. |
|
69 .LP |
|
70 .SH "OPTIONS" |
|
71 .LP |
|
72 .SS |
|
73 Standard Options |
|
74 .LP |
|
75 |
|
76 .LP |
|
77 .LP |
|
78 \f4\-Hvalue \-\-deflate\-hint=\fP\f2value\fP |
|
79 .LP |
|
80 .RS 3 |
|
81 |
|
82 .LP |
|
83 .LP |
|
84 Sets the deflation to be \f2true\fP, \f2false\fP, or \f2keep\fP on all entries within a JAR file. The default mode is \f2keep\fP. If \f2true\fP or \f2false\fP, overrides the default behavior and sets the deflation mode on all entries within the output JAR file. |
|
85 .LP |
|
86 .RE |
|
87 .SS |
|
88 Non\-Standard Options |
|
89 .LP |
|
90 |
|
91 .LP |
|
92 .LP |
|
93 \f4\-r \-\-remove\-pack\-file\fP |
|
94 .LP |
|
95 .RS 3 |
|
96 |
|
97 .LP |
|
98 .LP |
|
99 Removes the input packed file. |
|
100 .LP |
|
101 .RE |
|
102 .LP |
|
103 \f4\-v \-\-verbose\fP |
|
104 .LP |
|
105 .RS 3 |
|
106 |
|
107 .LP |
|
108 .LP |
|
109 Outputs minimal messages. Multiple specification of this option will output more verbose messages. |
|
110 .LP |
|
111 .RE |
|
112 .LP |
|
113 \f4\-q \-\-quiet\fP |
|
114 .LP |
|
115 .RS 3 |
|
116 |
|
117 .LP |
|
118 .LP |
|
119 Specifies quiet operation with no messages. |
|
120 .LP |
|
121 .RE |
|
122 .LP |
|
123 \f4\-lfilename \-\-log\-file=\fP\f2filename\fP |
|
124 .LP |
|
125 .RS 3 |
|
126 |
|
127 .LP |
|
128 .LP |
|
129 Specifies a log file to output messages. |
|
130 .LP |
|
131 .RE |
|
132 .SH "EXIT STATUS" |
|
133 .LP |
|
134 |
|
135 .LP |
|
136 .LP |
|
137 The following exit values are returned: |
|
138 .LP |
|
139 .RS 3 |
|
140 |
|
141 .LP |
|
142 .LP |
|
143 \f2\ 0\fP if successful completion; |
|
144 .LP |
|
145 .LP |
|
146 \f2>0\fP if an error occurred. |
|
147 .LP |
|
148 .RE |
|
149 .SH "SEE ALSO" |
|
150 .LP |
|
151 .RS 3 |
|
152 .TP 2 |
|
153 * |
|
154 pack200 \- JAR Packing Tool |
|
155 .TP 2 |
|
156 * |
|
157 \f2pack200(1)\fP, \f2jar(1)\fP, \f2jarsigner(1)\fP, \f2attributes(5)\fP man pages |
|
158 .TP 2 |
|
159 * |
|
160 Java SE Documentation |
|
161 .TP 2 |
|
162 * |
|
163 .na |
|
164 \f2Java Deployment Guide \- Pack200\fP @ |
|
165 .fi |
|
166 http://java.sun.com/javase/6/docs/technotes/guides/deployment/deployment\-guide/pack200.html |
|
167 .TP 2 |
|
168 * |
|
169 \f2jar\fP \- Java Archive Tool |
|
170 .TP 2 |
|
171 * |
|
172 .na |
|
173 \f2jarsigner\fP \- JAR Signer tool @ |
|
174 .fi |
|
175 http://java.sun.com/javase/6/docs/technotes/tools/solaris/jarsigner.html |
|
176 .RE |
|
177 |
|
178 .LP |
|
179 .SH "NOTES" |
|
180 .LP |
|
181 |
|
182 .LP |
|
183 .LP |
|
184 This command should not be confused with \f2unpack(1)\fP. They are distinctly separate products. |
|
185 .LP |
|
186 .LP |
|
187 The Java SE API Specification provided with the SDK is the superseding authority, in case of discrepancies. |
|
188 .LP |
|
189 |