To shorten or simplify the `jar` command, you can provide an arg file that lists the files to include in the JAR file and pass it to the `jar` command with the at sign (`@`) as a prefix. Example as below, `jar --create --file my.jar @classes.list` If one or more entries in the arg file cannot be found then the jar command fails without creating the JAR file.
|