Deliver Your Java Application in One-JAR™! Copyright 2004-2007 by P. Simon Tuffs, All Rights Reserved.

Manifest Attributes

One-JAR uses manifest attributes to control its operation. The purpose of these attributes is described in the following table. The manifest file paths are relative to the top of the One-JAR archive.

One-Jar-Main-ClassMETA-INF/MANIFEST.MFOptional: specifies the main class instead of looking in main/main.jar
Specifies the main class inside main.jar. You can use the One-Jar-Main-Class attribute instead.
One-Jar-ExpandMETA-INF/MANIFEST.MFOptional: 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-ExpandMETA-INF/MANIFEST.MFtrue: show the file expansions.
One-Jar-Confirm-ExpandMETA-INF/MANIFEST.MFtrue: confirm file expansions by the user.