ANT target: InstallEAR
InstallEAR installs the installable EAR into the profile's application server (server1) and maps all EJB modules to the data sources that CreateDataSourceV5 ANT target creates. The CreateVirtualHosts ANT target creates the virtual hosts which InstallEAR maps to the virtual hosts.
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).
Optional parameters:
- sourceEARPath
- The directory path to the expanded EAR to be deployed or file path to the collapsed EAR to be deployed
Example
AIX|Linux|Solaris|I5/OS:
WC_installdir/bin/config_ant.sh -DinstanceName=instance InstallEAR
Windows:
WC_installdir/bin/config_ant.bat -DinstanceName=instance InstallEAR
Related Concepts