Attribute | Manifest | Description |
One-Jar-Main-Class | META-INF/MANIFEST.MF | Optional: specifies the main class instead of looking in main/main.jar |
One-Jar-Main-Args | META-INF/MANIFEST.MF | Optional: specifies default arguments to be passed to the main program, in the absence of any commmand-line args. |
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. 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-Expand-Dir | META-INF/MANIFEST.MF | Optional: specifies where to expand files. Default is in the current working directory. Files can be expanded anywhere: system properties are expanded, e.g. ${user.dir}.
|
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. |