Ant target: SetEARProperties

SetEARProperties sets the Java EE Connector architecture Connection Factory for the resource adapters and application classloader.

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

Called by

ConfigureCommerceServer

Prerequisites

  • The CreateProfile target must have been run successfully.
  • The WebSphere Commerce EAR is successfully installed by the InstallEAR target.
  • 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 function. For information about generating the properties file, see Ant targets.
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 SetEARProperties
  • WindowsWC_installdir/bin/config_ant.bat -DinstanceName=instance_name SetEARProperties