Search code examples
sap-commerce-cloud

Install addon in hybris


i am using hybris version 2005

I installed addon with this command

ant addoninstall -Daddonnames="notificationaddon" -DaddonStorefront.yacceleratorstorefront="myStorefront"

How can I run adon without using this command on all devices? Where should I add what settings


Solution

  • I understand by devices, you mean the servers? If this is right, then you do not have to run this on servers. Instead, let the CI script take care of this. Based on the deployment strategy, your script would automatically run this command and the addons get installed on the storefront.

    Every Addon does different work and requires a different way of inclusion.

    1. The add on has a file project.properties.template that contains the properties that become active once you install the addon.
    2. The addon has build.xml that is used to build that along with the storefront extension, whenever called back.
    3. The source code including the java and XML that gets compiled along with the storefront. An AddOn can override any resource in the storefront extension.

    For further information, please visit the Addon Concept illustrated in SAP help portal.