jdk/src/linux/doc/man/jar.1
changeset 2692 345bc8d65b19
parent 2 90ce3da70b43
child 5506 202f599c92aa
--- a/jdk/src/linux/doc/man/jar.1	Thu Apr 30 15:04:39 2009 -0700
+++ b/jdk/src/linux/doc/man/jar.1	Mon May 04 18:28:26 2009 -0700
@@ -1,6 +1,4 @@
-.'" t
-."
-." Copyright 2000-2006 Sun Microsystems, Inc.  All Rights Reserved.
+." Copyright 2004-2006 Sun Microsystems, Inc.  All Rights Reserved.
 ." DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 ."
 ." This code is free software; you can redistribute it and/or modify it
@@ -21,15 +19,11 @@
 ." CA 95054 USA or visit www.sun.com if you need additional information or
 ." have any questions.
 ."
-." `
-.TH jar 1 "05 Aug 2006"
-." Generated by html2roff
-.\\"  Created by: Susan Keohan 30\-Oct\-1996 
-.\\"  Updated by: Beth Stearns 18\-Nov\-1996 
-.\\"  Updated by: Marianne Mueller 11\-Dec\-1996 
-.\\"  Updated by: Douglas Kramer 01\-Jul\-2003 
+.TH jar 1 "04 May 2009"
+." Generated from HTML by html2man (author: Eric Armstrong)
+
 .LP
-.SH NAME
+.SH "Name"
 jar\-The Java Archive Tool
 .LP
 \f3jar\fP combines multiple files into a single JAR archive file.   
@@ -37,6 +31,7 @@
 .LP
 
 .LP
+.RS 3
 .TP 3
 Create jar file 
 \f4jar c\fP\f2[v0Mmfe] [\fP\f2manifest\fP\f2] [\fP\f2jarfile\fP\f2] [\fP\f2entrypoint\fP\f2] [\-C\fP \f2dir\fP\f2]\fP \f2inputfiles\fP \f2[\-J\fP\f2option\fP\f2]\fP 
@@ -52,6 +47,8 @@
 .TP 3
 Add index to jar file 
 \f4jar i\fP \f2jarfile\fP \f2[\-J\fP\f2option\fP\f2]\fP 
+.RE
+
 .LP
 .LP
 where:
@@ -59,21 +56,20 @@
 .RS 3
 
 .LP
+.RS 3
 .TP 3
 cuxtiv0Mmfe 
 Options that control the \f2jar\fP command. 
 .TP 3
- jarfile 
+jarfile 
 Jar file to be created (\f2c\fP), updated (\f2u\fP), extracted (\f2x\fP), or have its table of contents viewed (\f2t\fP). The \f2\-f\fP option and filename \f2jarfile\fP are a pair \-\- if either is present, they must both appear. Note that omitting \f2f\fP and \f2jarfile\fP accepts a "jar file" from standard input (for x and t) or sends the "jar file" to standard output (for c and u). 
 .TP 3
-
 inputfiles 
 Files or directories, separated by spaces, to be combined into \f2jarfile\fP (for c and u), or to be extracted (for x) or listed (for t) from \f2jarfile\fP. All directories are processed recursively. The files are compressed unless option \f20\fP (zero) is used. 
 .TP 3
- manifest 
+manifest 
 Pre\-existing manifest file whose \f2name\fP\f2:\fP \f2value\fP pairs are to be included in MANIFEST.MF in the jar file. The \f2\-m\fP option and filename \f2manifest\fP are a pair \-\- if either is present, they must both appear. The letters \f3m\fP, \f3f\fP and \f3e\fP must appear in the same order that \f2manifest\fP, \f2jarfile\fP, \f2entrypoint\fP appear. 
 .TP 3
-
 entrypoint 
 The name of the class that set as the application entry point for stand\-alone applications bundled into executable jar file. The \f2\-e\fP option and entrypoint are a pair \-\- if either is present, they must both appear. The letters \f3m\fP, \f3f\fP and \f3e\fP must appear in the same order that \f2manifest\fP, \f2jarfile\fP, \f2entrypoint\fP appear. 
 .TP 3
@@ -82,6 +78,8 @@
 .TP 3
 \-Joption 
 Option to be passed into the Java runtime environment. (There must be no space between \f2\-J\fP and \f2option\fP). 
+.RE
+
 .LP
 .RE
 .SH "DESCRIPTION"
@@ -92,11 +90,7 @@
 .na
 \f2ZLIB\fP @
 .fi
-http://www.gzip.org/zlib/ compression format. However, \f3jar\fP was designed mainly package java applets or applications into a single archive. When the components of an applet or application (files, images and sounds) are combined into a single archive, they can be downloaded by a java agent (like a browser) in a single HTTP transaction, rather than requiring a new connection for each piece. This dramatically improves download times. \f3jar\fP also compresses files and so further improves download time. In addition, it allows individual entries in a file to be signed by the applet author so that their origin can be authenticated. The syntax for the jar tool is almost identical to the syntax for the \f2tar\fP command. A \f3jar\fP archive can be used as a 
-.na
-\f2class path\fP @
-.fi
-http://ccc.sfbay/4291383/attachment/classpath.html entry, whether or not it is compressed. 
+http://www.gzip.org/zlib/ compression format. However, \f3jar\fP was designed mainly package java applets or applications into a single archive. When the components of an applet or application (files, images and sounds) are combined into a single archive, they can be downloaded by a java agent (like a browser) in a single HTTP transaction, rather than requiring a new connection for each piece. This dramatically improves download times. \f3jar\fP also compresses files and so further improves download time. In addition, it allows individual entries in a file to be signed by the applet author so that their origin can be authenticated. The syntax for the jar tool is almost identical to the syntax for the \f2tar\fP command. A \f3jar\fP archive can be used as a class path entry, whether or not it is compressed. 
 .LP
 Typical usage to combine files into a jar file is:
 .LP
@@ -117,7 +111,7 @@
 .na
 \f2JAR file specification\fP @
 .fi
-http://ccc.sfbay/guide/jar/jar.html#JAR%20Manifest for details explaining how the jar tool stores meta\-information in the manifest file. 
+http://java.sun.com/javase/6/docs/technotes/guides/jar/jar.html#JAR%20Manifest for details explaining how the jar tool stores meta\-information in the manifest file. 
 .LP
 If a jar file should include \f2name\ :\ value\fP pairs contained in an existing manifest file, specify that file using the \f2\-m\fP option:
 .LP
@@ -193,7 +187,7 @@
 .na
 \f2JarIndex\fP @
 .fi
-http://ccc.sfbay/guide/jar/jar.html#JAR%20Index, which allows application class loaders to load classes more efficiently from jar files. If an application or applet is bundled into multiple jar files,\  only the necessary jar files will be downloaded and opened to load classes. This performance optimization is enabled by running \f2jar\fP with the \f2\-i\fPoption. It will generate package location information for the specified main jar file and all the jar files it depends on, which need to be specified in the \f2Class\-Path\fP attribute of the main jar file's manifest.
+http://java.sun.com/javase/6/docs/technotes/guides/jar/jar.html#JAR%20Index, which allows application class loaders to load classes more efficiently from jar files. If an application or applet is bundled into multiple jar files,\  only the necessary jar files will be downloaded and opened to load classes. This performance optimization is enabled by running \f2jar\fP with the \f2\-i\fPoption. It will generate package location information for the specified main jar file and all the jar files it depends on, which need to be specified in the \f2Class\-Path\fP attribute of the main jar file's manifest.
 .LP
 .RS 3
 
@@ -241,6 +235,7 @@
 .LP
 
 .LP
+.RS 3
 .TP 3
 c 
 Creates a new archive file named \f2jarfile\fP (if \f2f\fP is specified) or to standard output (if \f2f\fP and \f2jarfile\fP are omitted). Add to it the files and directories specified by \f2inputfiles\fP. 
@@ -326,6 +321,7 @@
 \f2JAR Files\fP @
 .fi
 http://java.sun.com/docs/books/tutorial/jar/ trail in the Java Tutorial  for examples of using the \f4\-m\fP option. 
+.LP
 .TP 3
 e 
 Sets \f2entrypoint\fP as the application entry point for stand\-alone applications bundled into executable jar file. The use of this option creates or overrides the \f2Main\-Class\fP attribute value in the manifest file. This option can be used during creation of jar file or while updating the jar file. This option specifies the application entry point without editing or creating the manifest file.
@@ -434,11 +430,9 @@
 .LP
 .TP 3
 \-Joption 
-Pass \f2option\fP to the Java runtime environment, where \f2option\fP is one of the options described on the reference page for the 
-.na
-\f2java application launcher\fP @
-.fi
-http://ccc.sfbay/4291383/attachment/java.html#options. For example, \f4\-J\-Xmx48M\fP sets the maximum memory to 48 megabytes. It is a common convention for \f2\-J\fP to pass options to the underlying runtime environment. 
+Pass \f2option\fP to the Java runtime environment, where \f2option\fP is one of the options described on the reference page for the java application launcher. For example, \f4\-J\-Xmx48M\fP sets the maximum memory to 48 megabytes. It is a common convention for \f2\-J\fP to pass options to the underlying runtime environment. 
+.RE
+
 .LP
 .SH "COMMAND LINE ARGUMENT FILES"
 .LP
@@ -446,7 +440,7 @@
 .LP
 To shorten or simplify the jar command line, you can specify one or more files that themselves contain arguments to the \f2jar\fP command (except \f2\-J\fP options). This enables you to create jar commands of any length, overcoming command line limits imposed by the operating system. 
 .LP
-An argument file can include options and filenames. The arguments within a file can be space–separated or newline\-separated. Filenames within an argument file are relative to the current directory, not relative to the location of the argument file. Wildcards (*) that might otherwise be expanded by the operating system shell are not expanded. Use of the \f2@\fP character to recursively interpret files is not supported. The \f2\-J\fP options are not supported because they are passed to the launcher, which does not support argument files.
+An argument file can include options and filenames. The arguments within a file can be space\-separated or newline\-separated. Filenames within an argument file are relative to the current directory, not relative to the location of the argument file. Wildcards (*) that might otherwise be expanded by the operating system shell are not expanded. Use of the \f2@\fP character to recursively interpret files is not supported. The \f2\-J\fP options are not supported because they are passed to the launcher, which does not support argument files.
 .LP
 .LP
 When executing \f2jar\fP, pass in the path and name of each argument file with the \f2@\fP leading character. When \f2jar\fP encounters an argument beginning with the character \f2@\fP, it expands the contents of that file into the argument list.
@@ -676,21 +670,21 @@
 .na
 \f2The Jar Overview\fP @
 .fi
-http://ccc.sfbay/guide/jar/jarGuide.html
+http://java.sun.com/javase/6/docs/technotes/guides/jar/jarGuide.html
 .br
 
 .LP
 .na
 \f2The Jar File Specification\fP @
 .fi
-http://ccc.sfbay/guide/jar/jar.html
+http://java.sun.com/javase/6/docs/technotes/guides/jar/jar.html
 .br
 
 .LP
 .na
 \f2The JarIndex Spec\fP @
 .fi
-http://ccc.sfbay/guide/jar/jar.html#JAR%20Index
+http://java.sun.com/javase/6/docs/technotes/guides/jar/jar.html#JAR%20Index
 .br
 
 .LP
@@ -701,9 +695,6 @@
 .br
 
 .LP
-.na
-\f2pack200 Reference Page\fP @
-.fi
-http://ccc.sfbay/4291383/share/pack200.html 
+pack200(1) 
 .LP