ANT target: CreateProfile
CreateProfile creates a new profile to host a WebSphere Commerce instance.The profile name is the same name as the WebSphere Commerce instance. The default path to the profile is:
AIX|Linux|Solaris|Windows:
WAS_installdir/profiles/instance
- WAS_userdir/profiles/instance
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 WAS profile related properties.
Called by:
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 on generating the properties file, see ANT targets.
Required parameters:
- instance
- The name of the WebSphere Commerce instance with which you are working (for example, demo).
Example
AIX|Linux|Solaris|I5/OS:
WC_installdir/bin/config_ant.sh -DinstanceName=instance CreateProfile
Windows:
WC_installdir/bin/config_ant.bat -DinstanceName=instance CreateProfile
Related Concepts