Alternative Ant Build Script for Fully Embedded and Split Install Bundles
Introduction
The previous tutorial articles provide details of customization of the default ant build script that is present in your WebObjects projects. This article provides a fully custom build script that you can just drop into your project and use it as an alternative to the default build.xml. This script is called the "splitembeddedbuild" script. Along with providing the script, this article explains in detail what deployment artifacts are produced by the build. Hopefully the functionality in this script will make their way into the standard script someday with configuration parameters settable in a simple way in the build.properties file.
Pre-requisites
This script only works with the modern WOLips project format and the WOnderApplication project template format (since the layout of regular. However the script is easily changed to accommodate the "old" standard format by changing the dir names in the script (for example "Sources" in the new project layout was "src" in the old layout)
Installation and Usage of the Script
Have no fear ;-) , you will not break anything by dropping this script as is into your project and trying it out. YOu can just use it as is without replacing your default build.xml
- So, download the script and drag it to the root of your project.
- Next, right-click on the script and select the "clean" and compileAndBuild" tasks. If necessary use the "Order..." button to ensure that "clean" comes before "compileAndBuild".