cancel
Showing results for 
Search instead for 
Did you mean: 

Custom addon install failed on commerce cloud 1905

0 Kudos

I am trying to install a custom addon on cloud which is working on my local perfectly.

ant addoninstall -Daddonnames="customaddonname" -DaddonStorefront.customstorefront="customstorefront"

and I've addded the addonname in localextensions.xml file as well.

Get below error.

BUILD FAILED /opt/workspace/build/commerce-suite/hybris/bin/modules/core-accelerator/addonsupport/resources/addonsupport/ant/acc-ant-addons.xml:730: The following error occurred while executing this line: /opt/workspace/build/commerce-suite/hybris/bin/modules/core-accelerator/addonsupport/resources/addonsupport/ant/acc-ant-addons.xml:642: The following error occurred while executing this line: /opt/workspace/build/commerce-suite/hybris/bin/modules/core-accelerator/addonsupport/resources/addonsupport/ant/acc-ant-addons.xml:434: The following error occurred while executing this line: /opt/workspace/build/commerce-suite/hybris/bin/modules/core-accelerator/addonsupport/resources/addonsupport/ant/acc-ant-addons.xml:441: Addon extension 'customaddon' is not added to localextensions.xml. Please include the customaddon extension in your localextensions.xml

View Entire Topic
svintha
Explorer
0 Kudos

Hi nehavyas can you try to follow as described below and see if it works .

addonStorefront.<storefrontTemplateName>This parameter is used to indicate which storefronts you are installing the AddOn for. If more than one storefront is specified, the storefront names must be separated by commas. The <storefrontTemplateName> variable indicates the storefront template you wish to use for storefront generation. By default, the two possible values are yacceleratorstorefront and yb2bacceleratorstorefront.

https://help.sap.com/viewer/b490bb4e85bc42a7aa09d513d0bcb18e/1905/en-US/8adf7365866910149ceb975f778d...