Reference > ANT targets > Ant targets: Creating and configuring targets > CreateInstance > ConfigureCommerceServer
ANT target: SetEARProperties
SetEARProperties sets the Java EE Connector architecture Connection Factory for the resource adapters and application classloader.
Called by:
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
- The name of the WCS instance with which you are working (for example, demo).
Example:
- WC_INSTALL/bin/config_ant.sh -DinstanceName=instance SetEARProperties
- WC_INSTALL/bin/config_ant.bat -DinstanceName=instance SetEARProperties
Related concepts