Ant target: UpdateEAR
The UpdateEAR target uses a partial application (.zip) or instance configuration file (XML) to update the deployed WebSphere Commerce enterprise application.
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 about generating the properties file, see Ant targets.
Required parameters
- instance_name
- The name of the WebSphere Commerce instance with which you are working.
Example #1 - Instance configuration file update
- Go to the following directory: WC_installdir/bin
- Run the following command:
config_ant.sh -DinstanceName=instance_name UpdateEAR
- Go to the following directory: WC_installdir\bin
- Run the following command:
config_ant.bat -DinstanceName=instance_name UpdateEAR
Example #2 - Partial application update
- Go to the following directory: WC_installdir/bin
- Run the following command:
config_ant.sh -DinstanceName=instance_name -DupdateType=partialapp -DpartialApp=partialApp.zip UpdateEAR
- Go to the following directory: WC_installdir\bin
- Run the following command:
config_ant.bat -DinstanceName=instance_name -DupdateType=partialapp -DpartialApp=partialApp.zip UpdateEAR