Ant target: PostInstanceCreation

PostInstanceCreation performs various post instance creation configuration actions such as setting file permissions on WebSphere Commerce files.

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

Called by



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).


  • LinuxAIXFor IBM i OS operating systemWC_installdir/bin/ -DinstanceName=instance_name PostInstanceCreation
  • WindowsWC_installdir/bin/config_ant.bat -DinstanceName=instance_name PostInstanceCreation


  1. If an error occurs, review the following log files:
    • LinuxAIXWindows
      • WC_installdir/instances/ instance_name/logs/createInstanceANT.log
      • WC_installdir/instances/ instance_name/logs/createInstanceANT.err.log
    • For IBM i OS operating system
      • WC_userdir/instances/ instance_name/logs/createInstanceANT.log
      • WC_userdir/instances/ instance_name/logs/createInstanceANT.err.log
  2. Identify which target failed.
  3. Resolve the problem.
  4. Run the PostInstanceCreation target again.