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:
  • AIXLinuxWindowsWAS_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 createInstance.properties file has the correct values for the WebSphere Application Server profile-related properties.

Called by

ConfigureCommerceServer

Prerequisites

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

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