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