Reference > ANT targets > Ant targets: Creating and configuring targets
ANT target: ReconfigureCell
ReconfigureCell reconfigures the WCS instance into a new cell. ReconfigureCell regenerates the virtual hosts, WAR module bindings, Web server definition and the Web server plugin configuration file.
WCS instance creation creates the WebSphere Application Server application server profile and then installs the WebSphere Commerce EAR into the server1 of the profile and other cell level configuration objects. Once the WebSphere Commerce node is federated into the deployment manager's cell, the old cell level configuration objects for the instance will not be carried over into the deployment manager's cell. This ANT target reconfigures the instance into the new cell.
Calls:
- CreateWebServerDefinition
- ModifyPluginCfgFileLocation
- ModifyHttpLogLocation
- CreateWebServerDefinition
- CreateVirtualHosts
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).
Example
- WC_INSTALL/bin/config_ant.sh -DinstanceName=instance ReconfigureCell
- WC_INSTALL/bin/config_ant.bat -DinstanceName=instance ReconfigureCell
Related concepts