Administer > Deploy > Overview: WebSphere Commerce Build and Deployment tool > Configure and run the toolkit deployment process
Run the toolkit deployment process
Now that you have generated the deployment package and configured the deployment settings, you can run the toolkit deployment process on you WebSphere Commerce server. Ensure that you backup any important assets in the development environment before proceeding with this task.
Before you begin
Before running the toolkit deployment process, it is highly recommended that the following recovery measures be taken:
- Back up the database. Refer to the documentation of the DBMS for details.
Apache Derby database and workspace backup has been automated.
- Back up the workspace. The WebSphere Commerce Build and Deployment tool provides the functionality to back up such assets if it is enabled. Refer to the toolkit deployment properties files for details.
Not taking recovery measures will result in not being able to recover if a deployment failure occurs.
Procedure
- Change directory to WCBD_deploy_toolkit_dir
- Run the toolkit deployment process with the following command, where target-env is the identifier for the target environment:
wcbd-rad-ant.bat -buildfile wcbd-deploy.xml -Dtarget.env=target-env
Results
In addition to providing information to the console, the build process generates a log...
- WCBD_deploy_toolkit_dir/logs/build-label-target-env-tstamp/wcbd-deploy-toolkit.log
Ant also provides a way to run an Ant build file with debug information to console. This can be done by specifying the -d or the -debug flag when calling wcbd-rad-ant.bat in the toolkit deployment process. However, debug information is not written to the log file created by the WebSphere Commerce Build and Deployment tool. It is suggested that you redirect the standard output and standard error streams to a separate log file when running the WebSphere Commerce Build and Deployment tool deployment process in debug mode.