The DJ Project

Rediscover the Desktop

DJ WebApplication Packer's Ant task

Back

Ant task example

The following example shows how to use DJ WebApplication Packer as an Ant task, to create an offline installer for WebStart-based applications.

<project name="Sample build script" default="createInstaller">

  <target name="createInstaller" description="Create the Installer">
    <taskdef resource="chrriis/dj/wapacker/ant/task.properties"
                classpath="DJWebApplicationPacker.jar"/>
    <djwapacker jnlpurl="http://udoc.sf.net/UDoc.jnlp"
                readmefile="readme.html"
                licensefile="license.txt"
                tofile="udoc-installer.jar"
                applicationarchivefile="udoc-wsdeploy.zip"/>
  </target>

</project>