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



  • 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 file must exist for this Ant target to function. For information about generating the properties file, see Ant targets.
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 SetEARProperties
  • WindowsWC_installdir/bin/config_ant.bat -DinstanceName=instance_name SetEARProperties