ANT script toolbox to automate the build of application systems
- Download latest release and unzip latest version
- Setup environment configuration
- Choose modules for your system
- Run ANT tasks
Create your system specific configuration file in the folder config and name it env.{name of your host}.properties or env.{username}.properties. Copy properties from the default properties in env.properties file you want to customize.
Setup the variable
system.modulesin your env.{...}.properties file. Configure the modules separated by comma.
For example for a system with a Apache, TomCat and SSL you have to setup like this:
system.modules=system_configuration_files,self_signed_cert,apache_tomcat_vhost,tomcat_7
clean - Removes the build folder for all modules build - Runs the build tasks for all modules deploy - Deploys the build for all modules show-modules-properties - Displays the configuration for each module
Build Apache webserver configuration for your system
Empty template for your own modules
Generate a self signed certificate
Generate your system specific configuration files
Download, unzip and customize your TomCat installation in a destination folder
Download, unzip and customize your TomCat / Liferay bundle
Download and install tomcat_natives for windows
All macros placed in the macro folder will be loaded automatically.
You can extend the build steps by adding a new one in the includes/build-modules.xml and adding the same build step in all available modules.
- Backup your customizations or better: get involved and make a pull request
- Replace the folders following folder with the latest ones: includes, lib, macros
- Replace the build.xml with the latest version
- Migrate the build steps of your modules if necessary
- All configuration for an environment are placed in one file. Migration: Just copy the contents from env.properties and system.properties into one configuration files config/env.properties. And do so with your customized configuration files.