Reference > ANT targets > Ant targets: Creating and configuring targets > CreateInstance
ANT target: PostInstanceCreation
PostInstanceCreation performs various post instance creation configuration actions such as setting file permissions on WebSphere Commerce files.
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 PostInstanceCreation
- WC_INSTALL/bin/config_ant.bat -DinstanceName=instance PostInstanceCreation
Recovery:
- If an error occurs, review the following log files:
- WC_INSTALL/instances/ instance/logs/createInstanceANT.log
- WC_INSTALL/instances/ instance/logs/createInstanceANT.err.log
- WC_USER/instances/ instance/logs/createInstanceANT.log
- WC_USER/instances/ instance/logs/createInstanceANT.err.log
- Identify which target failed.
- Resolve the problem.
- Run the PostInstanceCreation target again.
Related concepts