Ant target: RegeneratePlugin

RegeneratePlugin regenerates the Web server plug-in configuration file (plugin-cfg.xml) for the Web server definition. This target regenerates the Web server plug-in configuration file when there is a change in the virtual host settings. This target must be run for any changes to the virtual host configurations.

Important: This Ant target is to be used only as a part of WebSphere Commerce instance creation.

Called by



  • The Administrative server must be running to run the ConfigureCommerceServer target and any subtargets.
  • The file must exist for this Ant target to work. For information about generating the properties file, see Ant targets.

Required parameters

The name of the WebSphere Commerce instance with which you are working (for example, demo).


  • For IBM i OS operating systemSolarisLinuxAIXWC_installdir/bin/ -DinstanceName=instance_name RegeneratePlugin
  • WindowsWC_installdir/bin/config_ant.bat -DinstanceName=instance_name RegeneratePlugin