Reference > ANT targets > Ant targets: Removing configuration targets > RemoveCommerceServer
ANT target: RegeneratePlugin
RegeneratePlugin regenerates the Web server plugin configuration file (plugin-cfg.xml) for the Web server definition. This target regenerates the Web server plugin configuration file when there is a change in the virtual host settings and should be run for any changes to the virtual host configurations.
Called by:
Prerequisites:
- The Administrative server must be running to run the ConfigureCommerceServer target and any subtargets.
- 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 RegeneratePlugin
- WC_INSTALL/bin/config_ant.bat -DinstanceName=instance RegeneratePlugin
Related concepts