Ant target: RemoveInstanceDir

RemoveInstanceDir deletes the WebSphere Commerce instance configuration directory and its contents.

Attention: Deleting the WebSphere Commerce instance directory removes the configuration settings for the WebSphere Commerce instance. Be extremely careful when using this target. This target should be executed at the end of WebSphere Commerce instance cleanup.

Called by

RemoveInstance

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_name
The name of the WebSphere Commerce instance with which you are working (for example, demo).

Example

  • LinuxAIXWC_installdir/bin/config_ant.sh -DinstanceName=instance_name RemoveInstanceDir
  • WindowsWC_installdir/bin/config_ant.bat -DinstanceName=instance_name RemoveInstanceDir