Customizing the toolkit deployment process
Advanced users can customize the toolkit deployment process by using the Apache Ant scripting language. This task guides you through creating your customization files for use with the WebSphere Commerce Build and Deployment tool.
About this task
Procedure
-
If new functionality is needed in the Ant build, then complete the following steps.
-
Create new properties if new security-sensitive properties (such as user names and passwords)
are needed for the new changes.
- Copy WCBD_deploy_toolkit_dir/wcbd-deploy.private.properties.template as WCBD_deploy_toolkit_dir/project-deploy.private.properties.template.
- Add the new properties to the end of the file. See comments in the file for details.
This file becomes the new properties template file for configuration. -
Create new properties if other properties are needed for the new changes.
- Copy WCBD_deploy_toolkit_dir/wcbd-deploy.properties.template as WCBD_deploy_toolkit_dir/project-deploy.properties.template.
- Add the new properties to the end of the file. For more information, see the comments in the file.
This file becomes the new properties template file for configuration. -
Update CLASSPATH variable if new libraries are need by Ant for the new changes.
- Copy WCBD_deploy_toolkit_dir/wcbd-setenv.bat.template as WCBD_deploy_toolkit_dir/project-setenv.bat.template.
-
Update the
CLASSPATH
variable in WCBD_deploy_toolkit_dir/project-setenv.bat.template.
This file becomes the new setenv.bat template files for configuration. -
Include the new or modified functionality in the overall toolkit deployment process by
completing the following steps.
To customize the files for Configuring the toolkit deployment settings and Running the toolkit deployment process use the same steps, but use the project-* files instead of the wcbd-* files.