blob: 13ec2b19667d2e119ff956fafd5fe4fb6c892f51 [file] [log] [blame]
bpatel87d64cc2010-07-14 15:42:06 -07001." Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
duke6e45e102007-12-01 00:00:00 +00002." 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."
ohair2283b9d2010-05-25 15:58:33 -070018." Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
19." or visit www.oracle.com if you need additional information or have any
20." questions.
tbell16c34dd2009-05-04 18:28:26 -070021."
bpatel87d64cc2010-07-14 15:42:06 -070022.TH unpack200 1 "02 Jun 2010"
duke6e45e102007-12-01 00:00:00 +000023
24.LP
tbell16c34dd2009-05-04 18:28:26 -070025.SH "Name"
duke6e45e102007-12-01 00:00:00 +000026unpack200 \- JAR Unpacking tool
27.LP
28.SH "SYNOPSIS"
29.LP
30
31.LP
32.LP
33\f4unpack200\fP\f2 [ \fP\f2options\fP ] \f2input\-file\fP \f2JAR\-file\fP
34.LP
35.LP
36Options may be in any order. The last option on the command line supersedes all previously specified options.
37.LP
38.RS 3
39
40.LP
tbell16c34dd2009-05-04 18:28:26 -070041.RS 3
duke6e45e102007-12-01 00:00:00 +000042.TP 3
43input\-file
44Name 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.
45.TP 3
46JAR\-file
47Name of the output JAR file.
tbell16c34dd2009-05-04 18:28:26 -070048.RE
49
duke6e45e102007-12-01 00:00:00 +000050.LP
51.RE
52.SH "DESCRIPTION"
53.LP
54
55.LP
56.LP
57\f2unpack200\fP is a native implementation that transforms a packed file produced by \f2pack200\fP(1) into a JAR file. Typical usage:
58.LP
59.RS 3
60
61.LP
62.LP
63\f2% unpack200 myarchive.pack.gz myarchive.jar\fP
64.LP
65.RE
66.LP
67In this example, the \f2myarchive.jar\fP is produced from \f2myarchive.pack.gz\fP using the default \f2unpack200\fP settings.
68.LP
69.SH "OPTIONS"
70.LP
71.SS
72Standard Options
73.LP
tbell16c34dd2009-05-04 18:28:26 -070074.RS 3
duke6e45e102007-12-01 00:00:00 +000075
76.LP
77.LP
78\f4\-Hvalue \-\-deflate\-hint=\fP\f2value\fP
79.LP
80.RS 3
81
82.LP
83.LP
84Sets 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
tbell16c34dd2009-05-04 18:28:26 -070087.RE
duke6e45e102007-12-01 00:00:00 +000088.SS
89Non\-Standard Options
90.LP
tbell16c34dd2009-05-04 18:28:26 -070091.RS 3
duke6e45e102007-12-01 00:00:00 +000092
93.LP
94.LP
95\f4\-r \-\-remove\-pack\-file\fP
96.LP
97.RS 3
98
99.LP
100.LP
101Removes the input packed file.
102.LP
103.RE
104.LP
105\f4\-v \-\-verbose\fP
106.LP
107.RS 3
108
109.LP
110.LP
111Outputs minimal messages. Multiple specification of this option will output more verbose messages.
112.LP
113.RE
114.LP
115\f4\-q \-\-quiet\fP
116.LP
117.RS 3
118
119.LP
120.LP
121Specifies quiet operation with no messages.
122.LP
123.RE
124.LP
125\f4\-lfilename \-\-log\-file=\fP\f2filename\fP
126.LP
127.RS 3
128
129.LP
130.LP
131Specifies a log file to output messages.
132.LP
133.RE
tbell16c34dd2009-05-04 18:28:26 -0700134.RE
duke6e45e102007-12-01 00:00:00 +0000135.SH "EXIT STATUS"
136.LP
137
138.LP
139.LP
140The following exit values are returned:
141.LP
142.RS 3
143
144.LP
145.LP
146\f2\ 0\fP if successful completion;
147.LP
148.LP
149\f2>0\fP if an error occurred.
150.LP
151.RE
152.SH "SEE ALSO"
153.LP
154.RS 3
155.TP 2
tbell16c34dd2009-05-04 18:28:26 -0700156o
157pack200(1)
duke6e45e102007-12-01 00:00:00 +0000158.TP 2
tbell16c34dd2009-05-04 18:28:26 -0700159o
160.na
161\f2Java SE Documentation\fP @
162.fi
163http://java.sun.com/javase/6/docs/index.html
duke6e45e102007-12-01 00:00:00 +0000164.TP 2
tbell16c34dd2009-05-04 18:28:26 -0700165o
duke6e45e102007-12-01 00:00:00 +0000166.na
167\f2Java Deployment Guide \- Pack200\fP @
168.fi
169http://java.sun.com/javase/6/docs/technotes/guides/deployment/deployment\-guide/pack200.html
170.TP 2
tbell16c34dd2009-05-04 18:28:26 -0700171o
172jar(1) \- Java Archive Tool
duke6e45e102007-12-01 00:00:00 +0000173.TP 2
tbell16c34dd2009-05-04 18:28:26 -0700174o
175jarsigner(1) \- JAR Signer tool
176.TP 2
177o
178\f2attributes(5)\fP man page
duke6e45e102007-12-01 00:00:00 +0000179.RE
180
181.LP
182.SH "NOTES"
183.LP
184
185.LP
186.LP
187This command should not be confused with \f2unpack(1)\fP. They are distinctly separate products.
188.LP
189.LP
tbell16c34dd2009-05-04 18:28:26 -0700190The Java SE API Specification provided with the JDK is the superseding authority, in case of discrepancies.
191.LP
duke6e45e102007-12-01 00:00:00 +0000192