The build process needs to assemble the different parts and then stitch them together into a single deployment artifact. The deployment artifacts in a JAR file comprising of:
- The runtime Java classes need to be incorporated into a JAR file that is expected to be called GeoIP.jar
- The HTML and JavaScript along with the internationalization data need to be a bundled together in a ZIP file called ui.zip
- The management portal backend Java also needs to be generated into a config.jar file
- The manifest.json file which describes the policy
Finally, the jar should adopt the naming convention of <policy-name>.jar.
With the build properties, and Ant incorporated into it is possible to drive the build process everything including deployment ...