Ant target: CM_updateWorkspacesSchema

Use the update workspaces schema script when you change your base schema and need to update your workspaces schema to include the changes.


utilities_root/bin/ -buildfile
-logfile location_of_log_file (optional)


The HCL Commerce instance name.
This parameter is the XML directory where the content-management/wc-resource-containers.xml and all the other resource manager XML files reside. This directory needs to contain only the resource manager XML file for this table if the table is content managed or operational. If there is no resource file for a table found in the content-management directory under the specified location, the utility assumes that there is no change to the resource type of the table, or the table is a non-managed type table if the table does not exist in the workspace. The utility looks for the directory named "content-management" under the specified location first. If the utility cannot find the content-management directory under the specified location, it tries to locate the content-management directory under the utility classpath. If the utility still cannot find any content-management directory, it throws an exception. In summary, the content-management directory must exist even if it is empty.
The password for the database administrative user. This password is needed for schema creation and update.
Optional. A flag that indicates whether the Ant task updates workspaces or only generates the SQL to use to update workspaces. You can set the following values for this parameter:
The utility only reports the SQL that for updating workspace pool.
The utility updates the workspace pool. This value is the default value.
The output file to print the SQL statements to if generateSQLStatementsOnly is set to true. If not specified then the SQL is output to standard output stream.
Optional. If true, trace and log information is enabled and prints to file: utilities_root/logs/Application.messages.log.
Optional. If provided, the Ant script creates or overwrites a log file at this location. If you do not specify this parameter, the logging information is displayed in the console.