Attribute | Manifest | Description |
One-Jar-Main-Class | META-INF/MANIFEST.MF | Optional: specifies the main class instead of looking in main/main.jar |
Main-Class | /main/main.jar /META-INF/MANIFEST.MF | Specifies the main class inside main.jar . You can use the One-Jar-Main-Class attribute instead. |
One-Jar-Expand | META-INF/MANIFEST.MF | Optional: specifies which files and/or directories to expand into the filesystem. Files
can only be expanded into a tree underneath the location where the One-JAR archive is executed. This is a comma-separated
list of prefixes, e.g. One-Jar-Expand: file.txt,doc/ will expand file.txt, and all files in the doc directory. |
One-Jar-Show-Expand | META-INF/MANIFEST.MF | true : show the file expansions. |
One-Jar-Confirm-Expand | META-INF/MANIFEST.MF | true : confirm file expansions by the user. |