JApplication
Version 40.1 by Andrus Adamchik on 2006/09/16 13:21
(unreleased as of 09/16/2006)
Description
JApplication is a task for assembling native launchers of Java applications for a number of target platforms. Currently supports native launchers for Mac and Windows operating systems and also a "java launcher" - a single jar file that can be run via "java jar file.jar".
Build Prerequisites and OS Specifics
- Java launcher can be assembled on any platform and has no prerequisites.
- Mac launcher can be assembled on any platform and has no prerequisites.
- Windows launcher can currently be build on Windows only.
- Windows launcher requires NSIS to be installed on the build machine.
Parameters
Attribute | Description | Required | Platforms |
---|---|---|---|
name | The name of the application without OS-specific extension | yes | |
mainClass | Main Java class | yes | |
os | A family of operating systems. Currently supported values are "mac", "windows" and "java" | no (will use "java" if ommitted) | |
destDir | A destination directory where the application launcher should be installed | no (will use "$builddir" if omitted) | |
description | An optional short string identifying the application. If not specified, "name" is used | ||
icon | Platform-specific icon file (usually ".ico" on Windows and ".icns" on Mac) | no | mac,windows |
jvm | Minimal version of the Java Virtual machine required. | no | mac |
jvmOptions | Optional parameters to pass to the JVM, such as memory settings, etc. | no | mac |