Ant target: CreateProfile

CreateProfile creates a profile to host a WebSphere Commerce instance.

Important: This Ant target is to be used only as a part of WebSphere Commerce instance creation.
The profile name is the same name as the WebSphere Commerce instance. The default path to the profile is:
  • SolarisLinuxAIXWindowsWAS_installdir/profiles/instance_name
  • For IBM i OS operating systemWAS_userdir/profiles/instance_name
If you already have an existing application server profile with an unmanaged node, then you can skip this CreateProfile Ant target. Each profile has unique properties such as cell name, node name, and profile directory. If you are planning to use your own profile, ensure that the properties in the file has the correct values for the WebSphere Application Server profile-related properties.

Called by



  • The Administrative server must be running to run the ConfigureCommerceServer target and any subtargets.
  • 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).


  • For IBM i OS operating systemSolarisLinuxAIXWC_installdir/bin/ -DinstanceName=instance_name CreateProfile
  • WindowsWC_installdir/bin/config_ant.bat -DinstanceName=instance_name CreateProfile