Build process

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 ...

Get Implementing Oracle API Platform Cloud Service now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.