Reference > ANT targets > Ant targets: Removing configuration targets
ANT target: RemoveInstanceDir
RemoveInstanceDir deletes the WCS instance configuration directory and its contents.
Attention: Deleting the WCS instance directory removes the configuration settings for the WCS instance. Be extremely careful when using this target. This target should be executed at the end of WCS instance cleanup.
Called by
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 RemoveInstanceDir
- WC_INSTALL/bin/config_ant.bat -DinstanceName=instance RemoveInstanceDir
Related concepts