cancel
Showing results for 
Search instead for 
Did you mean: 

How to add addoninstall target to platform?

Former Member
0 Kudos

Hi,

I am using hybris 5.0 and trying to add an Addon to the B2Bstorefront. For this i have done the following things. 1. added the addon extension in localextensions.xml 2. in project.properties.template i have done the required configuration. 3. in command prompt i have fired the below command. ant addoninstall -Daddonnames="xyzaddonname" -DaddonStorefront.yb2bacceleratorstorefront="xyzB2bStorefront"

But it is giveing build faild due to Target "addoninstall" does not exist in the project "platform". Please let me know how to resolve this issue. Thank you.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Edit: If you add addonsupport or yaddon as an extension, that will fix the Target does not exist issue.

See https://help.hybris.com/6.2.0/hcd/8adf7365866910149ceb975f778d809d.html

Former Member
0 Kudos

The Hybris platform 5.0 has indeed the Addon concept implemented however the addoninstall feature is not present, this is clear if you run "ant -p" on a 5.0.0.4 compare to a 5.0.1.0 .
To istall an addon on the 5.0.0.x based platform you need to follow the instrucitons in the link "https://wiki.hybris.com/display/accdoc/hybris+AddOn+Concept#", or alternatively migrate to 5.0.1.0 or higher.
Let me know further help is required.
------------------------------------------------------------------------------------------------------------------------------------
If this answer solve your issue please do not forget to tag it as best answer
------------------------------------------------------------------------------------------------------------------------------------