1 ." Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. |
1 ." Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. |
2 ." DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
2 ." DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 ." |
3 ." |
4 ." This code is free software; you can redistribute it and/or modify it |
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 |
5 ." under the terms of the GNU General Public License version 2 only, as |
6 ." published by the Free Software Foundation. |
6 ." published by the Free Software Foundation. |
17 ." |
17 ." |
18 ." Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
18 ." 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 |
19 ." or visit www.oracle.com if you need additional information or have any |
20 ." questions. |
20 ." questions. |
21 ." |
21 ." |
22 .TH unpack200 1 "02 Jun 2010" |
22 .TH unpack200 1 "10 May 2011" |
23 |
23 |
24 .LP |
24 .LP |
25 .SH "Name" |
25 .SH "Name" |
26 unpack200 \- JAR Unpacking tool |
26 unpack200 \- JAR Unpacking tool |
27 .LP |
27 .LP |
28 .SH "SYNOPSIS" |
28 .SH "SYNOPSIS" |
29 .LP |
29 .LP |
30 |
|
31 .LP |
|
32 .LP |
30 .LP |
33 \f4unpack200\fP\f2 [ \fP\f2options\fP ] \f2input\-file\fP \f2JAR\-file\fP |
31 \f4unpack200\fP\f2 [ \fP\f2options\fP ] \f2input\-file\fP \f2JAR\-file\fP |
34 .LP |
32 .LP |
35 .LP |
33 .LP |
36 Options may be in any order. The last option on the command line supersedes all previously specified options. |
34 Options 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 |
35 .LP |
41 .RS 3 |
36 .RS 3 |
42 .TP 3 |
37 .TP 3 |
43 input\-file |
38 input\-file |
44 Name 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. |
39 Name 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 JAR\-file |
41 JAR\-file |
47 Name of the output JAR file. |
42 Name of the output JAR file. |
48 .RE |
43 .RE |
49 |
44 |
50 .LP |
45 .LP |
51 .RE |
|
52 .SH "DESCRIPTION" |
46 .SH "DESCRIPTION" |
53 .LP |
|
54 |
|
55 .LP |
47 .LP |
56 .LP |
48 .LP |
57 \f2unpack200\fP is a native implementation that transforms a packed file produced by \f2pack200\fP(1) into a JAR file. Typical usage: |
49 \f2unpack200\fP is a native implementation that transforms a packed file produced by \f2pack200\fP(1) into a JAR file. Typical usage: |
58 .LP |
50 .LP |
59 .RS 3 |
|
60 |
|
61 .LP |
|
62 .LP |
51 .LP |
63 \f2% unpack200 myarchive.pack.gz myarchive.jar\fP |
52 \f2% unpack200 myarchive.pack.gz myarchive.jar\fP |
64 .LP |
53 .LP |
65 .RE |
|
66 .LP |
54 .LP |
67 In this example, the \f2myarchive.jar\fP is produced from \f2myarchive.pack.gz\fP using the default \f2unpack200\fP settings. |
55 In this example, the \f2myarchive.jar\fP is produced from \f2myarchive.pack.gz\fP using the default \f2unpack200\fP settings. |
68 .LP |
56 .LP |
69 .SH "OPTIONS" |
57 .SH "OPTIONS" |
70 .LP |
58 .LP |
71 .SS |
|
72 Standard Options |
|
73 .LP |
|
74 .RS 3 |
|
75 |
|
76 .LP |
|
77 .LP |
59 .LP |
78 \f4\-Hvalue \-\-deflate\-hint=\fP\f2value\fP |
60 \f4\-Hvalue \-\-deflate\-hint=\fP\f2value\fP |
79 .LP |
|
80 .RS 3 |
|
81 |
|
82 .LP |
61 .LP |
83 .LP |
62 .LP |
84 Sets 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. |
63 Sets 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 |
64 .LP |
86 .RE |
|
87 .RE |
|
88 .SS |
|
89 Non\-Standard Options |
|
90 .LP |
|
91 .RS 3 |
|
92 |
|
93 .LP |
|
94 .LP |
65 .LP |
95 \f4\-r \-\-remove\-pack\-file\fP |
66 \f4\-r \-\-remove\-pack\-file\fP |
96 .LP |
|
97 .RS 3 |
|
98 |
|
99 .LP |
67 .LP |
100 .LP |
68 .LP |
101 Removes the input packed file. |
69 Removes the input packed file. |
102 .LP |
70 .LP |
103 .RE |
|
104 .LP |
71 .LP |
105 \f4\-v \-\-verbose\fP |
72 \f4\-v \-\-verbose\fP |
106 .LP |
|
107 .RS 3 |
|
108 |
|
109 .LP |
73 .LP |
110 .LP |
74 .LP |
111 Outputs minimal messages. Multiple specification of this option will output more verbose messages. |
75 Outputs minimal messages. Multiple specification of this option will output more verbose messages. |
112 .LP |
76 .LP |
113 .RE |
|
114 .LP |
77 .LP |
115 \f4\-q \-\-quiet\fP |
78 \f4\-q \-\-quiet\fP |
116 .LP |
|
117 .RS 3 |
|
118 |
|
119 .LP |
79 .LP |
120 .LP |
80 .LP |
121 Specifies quiet operation with no messages. |
81 Specifies quiet operation with no messages. |
122 .LP |
82 .LP |
123 .RE |
|
124 .LP |
83 .LP |
125 \f4\-lfilename \-\-log\-file=\fP\f2filename\fP |
84 \f4\-lfilename \-\-log\-file=\fP\f2filename\fP |
126 .LP |
|
127 .RS 3 |
|
128 |
|
129 .LP |
85 .LP |
130 .LP |
86 .LP |
131 Specifies a log file to output messages. |
87 Specifies a log file to output messages. |
132 .LP |
88 .LP |
133 .RE |
89 .LP |
134 .RE |
90 \f4\-? \-h \-\-help\fP |
|
91 .LP |
|
92 .LP |
|
93 Prints help information about this command. |
|
94 .LP |
|
95 .LP |
|
96 \f4\-V \-\-version\fP |
|
97 .LP |
|
98 .LP |
|
99 Prints version information about this command. |
|
100 .LP |
|
101 .LP |
|
102 \f4\-J\fP\f2option\fP |
|
103 .LP |
|
104 .LP |
|
105 Passes \f2option\fP to the Java launcher called by \f2unpack200\fP. |
|
106 .LP |
135 .SH "EXIT STATUS" |
107 .SH "EXIT STATUS" |
136 .LP |
|
137 |
|
138 .LP |
108 .LP |
139 .LP |
109 .LP |
140 The following exit values are returned: |
110 The following exit values are returned: |
141 .LP |
|
142 .RS 3 |
|
143 |
|
144 .LP |
111 .LP |
145 .LP |
112 .LP |
146 \f2\ 0\fP if successful completion; |
113 \f2\ 0\fP if successful completion; |
147 .LP |
114 .LP |
148 .LP |
115 .LP |
149 \f2>0\fP if an error occurred. |
116 \f2>0\fP if an error occurred. |
150 .LP |
117 .LP |
151 .RE |
|
152 .SH "SEE ALSO" |
118 .SH "SEE ALSO" |
153 .LP |
119 .LP |
154 .RS 3 |
120 .RS 3 |
155 .TP 2 |
121 .TP 2 |
156 o |
122 o |
158 .TP 2 |
124 .TP 2 |
159 o |
125 o |
160 .na |
126 .na |
161 \f2Java SE Documentation\fP @ |
127 \f2Java SE Documentation\fP @ |
162 .fi |
128 .fi |
163 http://java.sun.com/javase/6/docs/index.html |
129 http://download.oracle.com/javase/7/docs/index.html |
164 .TP 2 |
130 .TP 2 |
165 o |
131 o |
166 .na |
132 .na |
167 \f2Java Deployment Guide \- Pack200\fP @ |
133 \f2Java Deployment Guide \- Pack200\fP @ |
168 .fi |
134 .fi |
169 http://java.sun.com/javase/6/docs/technotes/guides/deployment/deployment\-guide/pack200.html |
135 http://download.oracle.com/javase/7/docs/technotes/guides/deployment/deployment\-guide/pack200.html |
170 .TP 2 |
136 .TP 2 |
171 o |
137 o |
172 jar(1) \- Java Archive Tool |
138 jar(1) \- Java Archive Tool |
173 .TP 2 |
139 .TP 2 |
174 o |
140 o |