Reference > ANT targets > Ant targets: Creating and configuring targets > CreateInstance > ConfigureCommerceServer
ANT target: AddWASService
AddWASService adds the WebSphere Commerce application server into the Windows services list. The name of the service is "IBM WebSphere Application Server V7 - WC_instance".
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.bat -DinstanceName=instance AddWASService
Related concepts