blob: 2fb0e1cc9df6c89da8e332aea1c00aa2705fb174 [file] [log] [blame]
duke6e45e102007-12-01 00:00:00 +00001." Copyright 2004-2006 Sun Microsystems, Inc. All Rights Reserved.
2." DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
3."
4." This code is free software; you can redistribute it and/or modify it
5." under the terms of the GNU General Public License version 2 only, as
6." published by the Free Software Foundation.
7."
8." This code is distributed in the hope that it will be useful, but WITHOUT
9." ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10." FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
11." version 2 for more details (a copy is included in the LICENSE file that
12." accompanied this code).
13."
14." You should have received a copy of the GNU General Public License version
15." 2 along with this work; if not, write to the Free Software Foundation,
16." Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
17."
18." Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
19." CA 95054 USA or visit www.sun.com if you need additional information or
20." have any questions.
tbell16c34dd2009-05-04 18:28:26 -070021."
22.TH unpack200 1 "04 May 2009"
23." Generated from HTML by html2man (author: Eric Armstrong)
duke6e45e102007-12-01 00:00:00 +000024
25.LP
tbell16c34dd2009-05-04 18:28:26 -070026.SH "Name"
duke6e45e102007-12-01 00:00:00 +000027unpack200 \- JAR Unpacking tool
28.LP
29.SH "SYNOPSIS"
30.LP
31
32.LP
33.LP
34\f4unpack200\fP\f2 [ \fP\f2options\fP ] \f2input\-file\fP \f2JAR\-file\fP
35.LP
36.LP
37Options may be in any order. The last option on the command line supersedes all previously specified options.
38.LP
39.RS 3
40
41.LP
tbell16c34dd2009-05-04 18:28:26 -070042.RS 3
duke6e45e102007-12-01 00:00:00 +000043.TP 3
44input\-file
45Name 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
47JAR\-file
48Name of the output JAR file.
tbell16c34dd2009-05-04 18:28:26 -070049.RE
50
duke6e45e102007-12-01 00:00:00 +000051.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
68In 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
73Standard Options
74.LP
tbell16c34dd2009-05-04 18:28:26 -070075.RS 3
duke6e45e102007-12-01 00:00:00 +000076
77.LP
78.LP
79\f4\-Hvalue \-\-deflate\-hint=\fP\f2value\fP
80.LP
81.RS 3
82
83.LP
84.LP
85Sets 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.
86.LP
87.RE
tbell16c34dd2009-05-04 18:28:26 -070088.RE
duke6e45e102007-12-01 00:00:00 +000089.SS
90Non\-Standard Options
91.LP
tbell16c34dd2009-05-04 18:28:26 -070092.RS 3
duke6e45e102007-12-01 00:00:00 +000093
94.LP
95.LP
96\f4\-r \-\-remove\-pack\-file\fP
97.LP
98.RS 3
99
100.LP
101.LP
102Removes the input packed file.
103.LP
104.RE
105.LP
106\f4\-v \-\-verbose\fP
107.LP
108.RS 3
109
110.LP
111.LP
112Outputs minimal messages. Multiple specification of this option will output more verbose messages.
113.LP
114.RE
115.LP
116\f4\-q \-\-quiet\fP
117.LP
118.RS 3
119
120.LP
121.LP
122Specifies quiet operation with no messages.
123.LP
124.RE
125.LP
126\f4\-lfilename \-\-log\-file=\fP\f2filename\fP
127.LP
128.RS 3
129
130.LP
131.LP
132Specifies a log file to output messages.
133.LP
134.RE
tbell16c34dd2009-05-04 18:28:26 -0700135.RE
duke6e45e102007-12-01 00:00:00 +0000136.SH "EXIT STATUS"
137.LP
138
139.LP
140.LP
141The following exit values are returned:
142.LP
143.RS 3
144
145.LP
146.LP
147\f2\ 0\fP if successful completion;
148.LP
149.LP
150\f2>0\fP if an error occurred.
151.LP
152.RE
153.SH "SEE ALSO"
154.LP
155.RS 3
156.TP 2
tbell16c34dd2009-05-04 18:28:26 -0700157o
158pack200(1)
duke6e45e102007-12-01 00:00:00 +0000159.TP 2
tbell16c34dd2009-05-04 18:28:26 -0700160o
161.na
162\f2Java SE Documentation\fP @
163.fi
164http://java.sun.com/javase/6/docs/index.html
duke6e45e102007-12-01 00:00:00 +0000165.TP 2
tbell16c34dd2009-05-04 18:28:26 -0700166o
duke6e45e102007-12-01 00:00:00 +0000167.na
168\f2Java Deployment Guide \- Pack200\fP @
169.fi
170http://java.sun.com/javase/6/docs/technotes/guides/deployment/deployment\-guide/pack200.html
171.TP 2
tbell16c34dd2009-05-04 18:28:26 -0700172o
173jar(1) \- Java Archive Tool
duke6e45e102007-12-01 00:00:00 +0000174.TP 2
tbell16c34dd2009-05-04 18:28:26 -0700175o
176jarsigner(1) \- JAR Signer tool
177.TP 2
178o
179\f2attributes(5)\fP man page
duke6e45e102007-12-01 00:00:00 +0000180.RE
181
182.LP
183.SH "NOTES"
184.LP
185
186.LP
187.LP
188This command should not be confused with \f2unpack(1)\fP. They are distinctly separate products.
189.LP
190.LP
tbell16c34dd2009-05-04 18:28:26 -0700191The Java SE API Specification provided with the JDK is the superseding authority, in case of discrepancies.
192.LP
193
duke6e45e102007-12-01 00:00:00 +0000194.LP
195