Parameters

Attribute Description Required
tofile The destination WAR file Yes
codebase The url to which the WAR file will be deployed Yes
title A descriptive title for the application No (A default will be used)
vendor A descriptive vendor name No (A default will be used)
homepage The application home page (containing information about the application) No
offline-allowed true|false Whether or not the application can be launched offline No (defaults to true)
all-permission true|false Whether or not the application requires full access to the machine No (defaults to true)
pack200 true|false Whether or not to provide pack200 versions of the application jars. No (defaults to false)
signAlias The alias to use when signing the jars (ie the name of the key to be used) No
signStorepass The password to access the keystore (used to sign jars) No

Parameters specified as nested elements

Application

The application descriptor. This element is required.

Attribute Description Required
jar The application jar file Yes
mainclass The application main class No

Description

Descriptions for the current application

Attribute Description Required
kind one-line|short|tooltip No (if not specified, the default is used)

Icons

Icons for the current application

Attribute Description Required
file The icon file Yes
kind splash|default|selected|disabled|rollover No (if not specified, default is used)

Shortcut

Create shortcuts to the application in the user's environment. Only one of these elements can be defined per task.Using this will cause the application not to work with Java <1.5. For more info see the FAQ.

Attribute Description Required
desktop true|false Whether to add a shortcut to the user's desktop No (defaults to false)
menu true|false Whether to add a shortcut to the user's menu No (defaults to false)
submenu Which submenu to use when adding a shortcut to the user's menu No
online true|false Whether or not the application can be launched offline No (defaults to false)

Association

Create file associations to the application in the user's environment. Only one of these elements can be defined per task. Using this will cause the application not to work with Java <1.5. For more info see the FAQ.

Attribute Description Required
extensions A comma-separated list of extensions that the application should be associated with No
mimetype A mimetype the application should be associated with No

J2SEs

The minimum version of the JRE required by the application

Attribute Description Required
minVersion 1.1|1.2|1.3|1.4|1.5 The minimum version of the JRE required to download the application No (default to 1.4)
args Arguments to be supplied to the JRE. Using this will cause the application not to work with Java <1.5. For more info see the FAQ. No

The j2se element can also contain any given amount of j2seProperty elements, defined as such:

J2seproperty

Attribute Description Required
name The property name Yes
value The property value Yes

Libraries

Libraries (jars) required by the application. Defined as an Ant fileset.

Native Libraries

Native Libraries required by the application. Defined as an Ant fileset, with a single extra attribute (below). If the files included in the fileset are not jars, they will be packaged as such.

Attribute Description Required
os The OS this native library should be downloaded against. No