Orangevolt ANT Tasks » Tasks | ||
Example | Element information |
The jnlp task generates a Java Webstart xml file. In general the task is very easy.
The reason we wrote jnlp is to have a smart integration within Ant. Regularly you have to enter every jar/native library required by you application into the jnlp file. Using the jnlp task you can delegate this task to Ant using FileSet's.
In general the jnlp task is exactly the same like JNLP File Format with 2 differences
JNLP File Format tags containing minus ('-') must be written with underscore ('_')
Element resources may contain FileSet's.
Name | Description | Required |
codebase | The URI describing the download location. | yes |
encoding |
The encoding to use for the output xml file. If undefined it is set to New feature since version 1.2. |
no |
spec |
application being launched, as well as the version of the JNLP file itself. The according Java Webstart specification of the file. This attribute defaults to 1.0+ if not set. |
no |
version | The codebase attribute of the jnlp element specifies the codebase for the application. This is also used as the base URL for all relative URLs in href attributes. | yes |
toFile | the file to write the resulting jnlp file | yes |
jnlp task contains many nested elements reflecting the structure of JNLP File Format