Adding to the Build Process

Much of the build process is delegated to Studio's build files, but the following targets are provided to allow you to add to the build process:

  • build - The build target must depend on base-build and its contents will execute after the module is completely built

  • run-moduld-install-targets - This target is called by Studio before the rest of the make-installer target runs. Use this target to execute additional build steps that your installer will require

  • run-module-post-installer-targets - This target is called by Studio immediately after the installer zip is created. You can use this target to add extra files to the installer zip or do any other post-processing you may require.

The build.properties file is loaded during the build process, so any properties defined in the file will be available during the build. To ensure that you do not override existing properties, prefix any properties with your module's prefix.