21743
|
1 |
'\" 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 |
.\" -----------------------------------------------------------------
|
2
|
51 |
|
21743
|
52 |
.SH NAME
|
|
53 |
unpack200 \- Transforms a packed file produced by pack200(1) into a JAR file for web deployment\&.
|
|
54 |
.SH SYNOPSIS
|
|
55 |
.sp
|
|
56 |
.nf
|
2692
|
57 |
|
21743
|
58 |
\fBunpack200\fR [ \fIoptions\fR ] input\-file \fIJAR\-file\fR
|
|
59 |
.fi
|
|
60 |
.sp
|
|
61 |
.TP
|
|
62 |
\fIoptions\fR
|
|
63 |
The command-line options\&. See Options\&.
|
|
64 |
.TP
|
|
65 |
\fIinput-file\fR
|
|
66 |
Name 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
|
|
69 |
Name of the output JAR file\&.
|
|
70 |
.SH DESCRIPTION
|
|
71 |
The \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
|
|
84 |
Sets 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
|
|
88 |
Removes the input pack file\&.
|
|
89 |
.TP
|
|
90 |
-v --verbose
|
|
91 |
.br
|
|
92 |
Displays minimal messages\&. Multiple specifications of this option displays more verbose messages\&.
|
|
93 |
.TP
|
|
94 |
-q --quiet
|
|
95 |
.br
|
|
96 |
Specifies quiet operation with no messages\&.
|
|
97 |
.TP
|
|
98 |
-lfilename --log-file=\fIfilename\fR
|
|
99 |
.br
|
|
100 |
Specifies a log file where output messages are logged\&.
|
|
101 |
.TP
|
|
102 |
-? -h --help
|
|
103 |
.br
|
|
104 |
Prints help information about the \f3unpack200\fR command\&.
|
|
105 |
.TP
|
|
106 |
-V --version
|
|
107 |
.br
|
|
108 |
Prints version information about the \f3unpack200\fR command\&.
|
|
109 |
.TP
|
|
110 |
-J\fIoption\fR
|
|
111 |
.br
|
|
112 |
Passes 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
|
|
114 |
This command should not be confused with the \f3unpack\fR command\&. They are distinctly separate products\&.
|
|
115 |
.PP
|
|
116 |
The Java SE API Specification provided with the JDK is the superseding authority in case of discrepancies\&.
|
|
117 |
.SH EXIT\ STATUS
|
|
118 |
The 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
|
|
122 |
pack200(1)
|
|
123 |
.TP 0.2i
|
|
124 |
\(bu
|
|
125 |
jar(1)
|
|
126 |
.TP 0.2i
|
|
127 |
\(bu
|
|
128 |
jarsigner(1)
|
|
129 |
.TP 0.2i
|
|
130 |
\(bu
|
|
131 |
Pack200 and Compression at http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/deployment/deployment-guide/pack200\&.html
|
|
132 |
.TP 0.2i
|
|
133 |
\(bu
|
|
134 |
The Java SE Technical Documentation page at http://docs\&.oracle\&.com/javase/
|
|
135 |
.RE
|
|
136 |
.br
|
|
137 |
'pl 8.5i
|
|
138 |
'bp
|