Previous Next JavaScript must be enabled to correctly display this content

## 4.8 Creating final Extended Component war for Deployment

This topic describes the steps to generate Extended Component war for Deployment.

This is the final stage for generating extended-component war for all the Web components inside the extension_home folder. Important point to note here that before any component gets bundled to extended-component.war, it needs to pass all the test cases.
Perform the following steps to generate the war:

1. Go inside the individual component and run the command sh buildExtendedComponent.sh. This command will start performing and running unit test cases on the component.

   Figure 4-27 Command - sh buildExtendedComponent.sh

   Description of "Figure 4-27 Command - sh buildExtendedComponent.sh"
2. Once the test cases are executed successfully it will create a folder inside the extension_home folder named extended-components.
3. Now we have to navigate back to extension_home folder and run the command obx build-cca.

   Figure 4-28 OBX UI

   Description of "Figure 4-28 OBX UI"
4. This extended-component.war should be deployed in the same domain where application shell is deployed.

Parent topic: UI Extensions – Web Component