File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
src/jdk.jartool/share/man Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -196,7 +196,8 @@ Specifies the location of module dependence for generating the hash.
196
196
.RE
197
197
.TP
198
198
.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
200
201
.RS
201
202
.RE
202
203
.SH OPERATION MODIFIERS VALID ONLY IN CREATE, UPDATE, AND
@@ -339,8 +340,15 @@ class files from the file \f[CB]classes.list\f[R].
339
340
To shorten or simplify the \f[CB] jar \f[ R ] command, you can specify
340
341
arguments in a separate text file and pass it to the \f[CB] jar \f[ R ]
341
342
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.
342
347
.RS
343
348
.PP
344
349
\f[CB] jar \ \-\- create \ \-\- file \ my.jar \ \@ classes.list \f[ R ]
345
350
.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.
346
354
.RE
You can’t perform that action at this time.
0 commit comments