blob: fe01ae0dac310f952b623ca7cc625aec31e77812 [file] [log] [blame]
mfangfbb44202015-06-25 16:46:26 -07001'\" t
2.\" Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved.
rgallardb6435452013-11-25 20:19:02 -08003.\" 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 Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20.\" or visit www.oracle.com if you need additional information or have any
21.\" questions.
22.\"
mfangfbb44202015-06-25 16:46:26 -070023.\" Arch: generic
24.\" Software: JDK 8
25.\" Date: 21 November 2013
26.\" SectDesc: Java Deployment Tools
27.\" Title: unpack200.1
28.\"
29.if n .pl 99999
30.TH unpack200 1 "21 November 2013" "JDK 8" "Java Deployment Tools"
rgallardb6435452013-11-25 20:19:02 -080031.\" -----------------------------------------------------------------
32.\" * Define some portability stuff
33.\" -----------------------------------------------------------------
34.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
35.\" http://bugs.debian.org/507673
36.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
37.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
38.ie \n(.g .ds Aq \(aq
39.el .ds Aq '
40.\" -----------------------------------------------------------------
41.\" * set default formatting
42.\" -----------------------------------------------------------------
43.\" disable hyphenation
44.nh
45.\" disable justification (adjust text to left margin only)
46.ad l
47.\" -----------------------------------------------------------------
48.\" * MAIN CONTENT STARTS HERE *
49.\" -----------------------------------------------------------------
mfangfbb44202015-06-25 16:46:26 -070050
51.SH NAME
52unpack200 \- Transforms a packed file produced by pack200(1) into a JAR file for web deployment\&.
53.SH SYNOPSIS
54.sp
55.nf
56
57\fBunpack200\fR [ \fIoptions\fR ] input\-file \fIJAR\-file\fR
58.fi
59.sp
60.TP
61\fIoptions\fR
62The command-line options\&. See Options\&.
63.TP
64\fIinput-file\fR
65Name of the input file, which can be a pack200 gzip file or a pack200 file\&. The input can also be JAR file produced by \f3pack200\fR(1) with an effort of \f30\fR, in which case the contents of the input file are copied to the output JAR file with the Pack200 marker\&.
66.TP
67\fIJAR-file\fR
68Name of the output JAR file\&.
69.SH DESCRIPTION
70The \f3unpack200\fR command is a native implementation that transforms a packed file produced by \f3pack200\fR\f3(1)\fR into a JAR file\&. A typical usage follows\&. In the following example, the \f3myarchive\&.jar\fR file is produced from \f3myarchive\&.pack\&.gz\fR with the default \f3unpack200\fR command settings\&.
71.sp
72.nf
73\f3unpack200 myarchive\&.pack\&.gz myarchive\&.jar\fP
74.fi
75.nf
76\f3\fP
77.fi
78.sp
79.SH OPTIONS
80.TP
81-Hvalue --deflate-hint=\fIvalue\fR
82.br
83Sets the deflation to be \f3true\fR, \f3false\fR, or \f3keep\fR on all entries within a JAR file\&. The default mode is \f3keep\fR\&. If the value is \f3true\fR or \f3false\fR, then the \f3--deflate=hint\fR option overrides the default behavior and sets the deflation mode on all entries within the output JAR file\&.
84.TP
85-r --remove-pack-file
86.br
87Removes the input pack file\&.
88.TP
89-v --verbose
90.br
91Displays minimal messages\&. Multiple specifications of this option displays more verbose messages\&.
92.TP
93-q --quiet
94.br
95Specifies quiet operation with no messages\&.
96.TP
97-lfilename --log-file=\fIfilename\fR
98.br
99Specifies a log file where output messages are logged\&.
100.TP
101-? -h --help
102.br
103Prints help information about the \f3unpack200\fR command\&.
104.TP
105-V --version
106.br
107Prints version information about the \f3unpack200\fR command\&.
108.TP
109-J\fIoption\fR
110.br
111Passes option to the Java Virtual Machine, where \f3option\fR is one of the options described on the reference page for the Java application launcher\&. For example, \f3-J-Xms48m\fR sets the startup memory to 48 MB\&. See java(1)\&.
112.SH NOTES
113This command should not be confused with the \f3unpack\fR command\&. They are distinctly separate products\&.
114.PP
115The Java SE API Specification provided with the JDK is the superseding authority in case of discrepancies\&.
116.SH EXIT\ STATUS
117The following exit values are returned: 0 for successful completion, and a value that is greater than 0 when an error occurred\&.
118.SH SEE\ ALSO
119.TP 0.2i
120\(bu
121pack200(1)
122.TP 0.2i
123\(bu
124jar(1)
125.TP 0.2i
126\(bu
127jarsigner(1)
128.TP 0.2i
129\(bu
130Pack200 and Compression at http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/deployment/deployment-guide/pack200\&.html
131.TP 0.2i
132\(bu
133The Java SE Technical Documentation page at http://docs\&.oracle\&.com/javase/
rgallardb6435452013-11-25 20:19:02 -0800134.RE
135.br
136'pl 8.5i
137'bp