bpatel | 4bf512b | 2011-05-11 08:30:46 -0700 | [diff] [blame] | 1 | ." Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. |
duke | 6e45e10 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 2 | ." 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 | ." |
ohair | 2283b9d | 2010-05-25 15:58:33 -0700 | [diff] [blame] | 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 |
| 20 | ." questions. |
tbell | 16c34dd | 2009-05-04 18:28:26 -0700 | [diff] [blame] | 21 | ." |
bpatel | 4bf512b | 2011-05-11 08:30:46 -0700 | [diff] [blame] | 22 | .TH unpack200 1 "10 May 2011" |
duke | 6e45e10 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 23 | |
| 24 | .LP |
tbell | 16c34dd | 2009-05-04 18:28:26 -0700 | [diff] [blame] | 25 | .SH "Name" |
duke | 6e45e10 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 26 | unpack200 \- JAR Unpacking tool |
| 27 | .LP |
| 28 | .SH "SYNOPSIS" |
| 29 | .LP |
duke | 6e45e10 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 30 | .LP |
| 31 | \f4unpack200\fP\f2 [ \fP\f2options\fP ] \f2input\-file\fP \f2JAR\-file\fP |
| 32 | .LP |
| 33 | .LP |
| 34 | Options may be in any order. The last option on the command line supersedes all previously specified options. |
| 35 | .LP |
| 36 | .RS 3 |
duke | 6e45e10 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 37 | .TP 3 |
| 38 | input\-file |
| 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. |
| 40 | .TP 3 |
| 41 | JAR\-file |
| 42 | Name of the output JAR file. |
tbell | 16c34dd | 2009-05-04 18:28:26 -0700 | [diff] [blame] | 43 | .RE |
| 44 | |
duke | 6e45e10 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 45 | .LP |
duke | 6e45e10 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 46 | .SH "DESCRIPTION" |
| 47 | .LP |
duke | 6e45e10 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 48 | .LP |
| 49 | \f2unpack200\fP is a native implementation that transforms a packed file produced by \f2pack200\fP(1) into a JAR file. Typical usage: |
| 50 | .LP |
duke | 6e45e10 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 51 | .LP |
| 52 | \f2% unpack200 myarchive.pack.gz myarchive.jar\fP |
| 53 | .LP |
duke | 6e45e10 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 54 | .LP |
| 55 | In this example, the \f2myarchive.jar\fP is produced from \f2myarchive.pack.gz\fP using the default \f2unpack200\fP settings. |
| 56 | .LP |
| 57 | .SH "OPTIONS" |
| 58 | .LP |
duke | 6e45e10 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 59 | .LP |
| 60 | \f4\-Hvalue \-\-deflate\-hint=\fP\f2value\fP |
| 61 | .LP |
duke | 6e45e10 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 62 | .LP |
| 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. |
| 64 | .LP |
duke | 6e45e10 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 65 | .LP |
| 66 | \f4\-r \-\-remove\-pack\-file\fP |
| 67 | .LP |
duke | 6e45e10 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 68 | .LP |
| 69 | Removes the input packed file. |
| 70 | .LP |
duke | 6e45e10 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 71 | .LP |
| 72 | \f4\-v \-\-verbose\fP |
| 73 | .LP |
duke | 6e45e10 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 74 | .LP |
| 75 | Outputs minimal messages. Multiple specification of this option will output more verbose messages. |
| 76 | .LP |
duke | 6e45e10 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 77 | .LP |
| 78 | \f4\-q \-\-quiet\fP |
| 79 | .LP |
duke | 6e45e10 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 80 | .LP |
| 81 | Specifies quiet operation with no messages. |
| 82 | .LP |
duke | 6e45e10 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 83 | .LP |
| 84 | \f4\-lfilename \-\-log\-file=\fP\f2filename\fP |
| 85 | .LP |
duke | 6e45e10 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 86 | .LP |
| 87 | Specifies a log file to output messages. |
| 88 | .LP |
duke | 6e45e10 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 89 | .LP |
bpatel | 4bf512b | 2011-05-11 08:30:46 -0700 | [diff] [blame] | 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 |
| 107 | .SH "EXIT STATUS" |
duke | 6e45e10 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 108 | .LP |
| 109 | .LP |
| 110 | The following exit values are returned: |
| 111 | .LP |
duke | 6e45e10 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 112 | .LP |
| 113 | \f2\ 0\fP if successful completion; |
| 114 | .LP |
| 115 | .LP |
| 116 | \f2>0\fP if an error occurred. |
| 117 | .LP |
duke | 6e45e10 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 118 | .SH "SEE ALSO" |
| 119 | .LP |
| 120 | .RS 3 |
| 121 | .TP 2 |
tbell | 16c34dd | 2009-05-04 18:28:26 -0700 | [diff] [blame] | 122 | o |
| 123 | pack200(1) |
duke | 6e45e10 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 124 | .TP 2 |
tbell | 16c34dd | 2009-05-04 18:28:26 -0700 | [diff] [blame] | 125 | o |
| 126 | .na |
| 127 | \f2Java SE Documentation\fP @ |
| 128 | .fi |
bpatel | 4bf512b | 2011-05-11 08:30:46 -0700 | [diff] [blame] | 129 | http://download.oracle.com/javase/7/docs/index.html |
duke | 6e45e10 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 130 | .TP 2 |
tbell | 16c34dd | 2009-05-04 18:28:26 -0700 | [diff] [blame] | 131 | o |
duke | 6e45e10 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 132 | .na |
| 133 | \f2Java Deployment Guide \- Pack200\fP @ |
| 134 | .fi |
bpatel | 4bf512b | 2011-05-11 08:30:46 -0700 | [diff] [blame] | 135 | http://download.oracle.com/javase/7/docs/technotes/guides/deployment/deployment\-guide/pack200.html |
duke | 6e45e10 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 136 | .TP 2 |
tbell | 16c34dd | 2009-05-04 18:28:26 -0700 | [diff] [blame] | 137 | o |
| 138 | jar(1) \- Java Archive Tool |
duke | 6e45e10 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 139 | .TP 2 |
tbell | 16c34dd | 2009-05-04 18:28:26 -0700 | [diff] [blame] | 140 | o |
| 141 | jarsigner(1) \- JAR Signer tool |
| 142 | .TP 2 |
| 143 | o |
| 144 | \f2attributes(5)\fP man page |
duke | 6e45e10 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 145 | .RE |
| 146 | |
| 147 | .LP |
| 148 | .SH "NOTES" |
| 149 | .LP |
duke | 6e45e10 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 150 | .LP |
| 151 | This command should not be confused with \f2unpack(1)\fP. They are distinctly separate products. |
| 152 | .LP |
| 153 | .LP |
tbell | 16c34dd | 2009-05-04 18:28:26 -0700 | [diff] [blame] | 154 | The Java SE API Specification provided with the JDK is the superseding authority, in case of discrepancies. |
| 155 | .LP |
duke | 6e45e10 | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 156 | |