Reference > ANT targets > Ant targets: Creating and configuring targets > CreateInstance > ConfigureDatabase
ANT target: EnableTriggersAndPopulateSchema
EnableTriggersAndPopulateSchema creates stored procedures, enables the triggers, and massloads the WebSphere Commerce bootstrap data and NL (supported languages) data. If you choose to use an existing WebSphere Commerce schema, ensure that bootstrap data, stored procedures, or both, do not already exist. Otherwise, this target will not run successfully.
Called by:
Prerequisites:
The createInstance.properties file must exist for this ANT target to work. For information about generating the properties file, see ANT targets.
Required parameters:
- instance
- The name of the WCS instance with which you are working (for example, demo).
- siteAdminPassword
- The WebSphere Commerce site administrator's password.
- merchantKey
- The WebSphere Commerce site merchant key.
- dbUserPassword
- The WebSphere Commerce database user's password.
Example
- WC_INSTALL/bin/config_ant.sh -DinstanceName= instance -DsiteAdminPassword=siteAdminPassword -DmerchantKey=merchantKey -DdbUserPassword=dbUserPassword EnableTriggersAndPopulateSchema
- WC_INSTALL/bin/config_ant.bat -DinstanceName= instance -DsiteAdminPassword=siteAdminPassword -DmerchantKey=merchantKey -DdbUserPassword=dbUserPassword EnableTriggersAndPopulateSchema
Related concepts