Skip to content

Commit e29b3ca

Browse files
committed
8331077: nroff man page update for jar tool
Reviewed-by: rschmelter Backport-of: c21672d8c94da6aa613174744ceaa945ca2a474a
1 parent fa0a3c8 commit e29b3ca

File tree

1 file changed

+9
-1
lines changed
  • src/jdk.jartool/share/man

1 file changed

+9
-1
lines changed

src/jdk.jartool/share/man/jar.1

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,8 @@ Specifies the location of module dependence for generating the hash.
196196
.RE
197197
.TP
198198
.B \f[CB]\@\f[R]\f[I]file\f[R]
199-
Reads \f[CB]jar\f[R] options and file names from a text file.
199+
Reads \f[CB]jar\f[R] options and file names from a text file as if they
200+
were supplied on the command line
200201
.RS
201202
.RE
202203
.SH OPERATION MODIFIERS VALID ONLY IN CREATE, UPDATE, AND
@@ -339,8 +340,15 @@ class files from the file \f[CB]classes.list\f[R].
339340
To shorten or simplify the \f[CB]jar\f[R] command, you can specify
340341
arguments in a separate text file and pass it to the \f[CB]jar\f[R]
341342
command with the at sign (\f[CB]\@\f[R]) as a prefix.
343+
344+
To shorten or simplify the \f[CB]jar\f[R] command, you can provide an arg
345+
file that lists the files to include in the JAR file and pass it to the
346+
\f[CB]jar\f[R] command with the at sign (\f[CB]\@\f[R]) as a prefix.
342347
.RS
343348
.PP
344349
\f[CB]jar\ \-\-create\ \-\-file\ my.jar\ \@classes.list\f[R]
345350
.RE
351+
.PP
352+
If one or more entries in the arg file cannot be found then the jar
353+
command fails without creating the JAR file.
346354
.RE

0 commit comments

Comments
 (0)