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