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

  • For IBM i OS operating systemSolarisLinuxAIX
    1. Go to the following directory: WC_installdir/bin
    2. Run the following command: config_ant.sh -DinstanceName=instance_name UpdateEAR
  • Windows
    1. Go to the following directory: WC_installdir\bin
    2. Run the following command: config_ant.bat -DinstanceName=instance_name UpdateEAR

Example #2 - Partial application update

  • For IBM i OS operating systemSolarisLinuxAIX
    1. Go to the following directory: WC_installdir/bin
    2. Run the following command: config_ant.sh -DinstanceName=instance_name -DupdateType=partialapp -DpartialApp=partialApp.zip UpdateEAR
  • Windows
    1. Go to the following directory: WC_installdir\bin
    2. Run the following command: config_ant.bat -DinstanceName=instance_name -DupdateType=partialapp -DpartialApp=partialApp.zip UpdateEAR