Hello World example - Ant
An example antigen project showing how to create installers using Ant. The full source code can be found
The project consists of two main subfolders:
| |-- build.xml
| `-- Any other resources for your ant build
| |-- local-img
| | `-- any images for your installer
| |-- velocitytemplates
| | `-- any docs for your installer, as Velocity templates
The ant subfolder contains all the things your Ant script needs - a build.xml, properties file etc. The resources folder contains
everything specific to the installer - a config file, images for icons etc. The key to the build is the project's own
to be confused with the build.xml file that is being packaged inside the installer).
This jars everything in the ant subfolder, into an ant-build.jar. Ant then builds an executable jar containing
the contents of the antibody jar, the Ant jars and places the ant-build.jar and the resources inside it. The
file has been edited to that these resources and the ant-build.jar can be located relative to the classpath.