简体   繁体   English

hybris错误,安装secureportal插件

[英]hybris error installing secureportal addon

I am trying to install the "secureportaladdon". 我正在尝试安装“ secureportaladdon”。 While installing it using the command: 使用命令安装它时:

ant addoninstall -Daddonnames="secureportaladdon" -DaddonStorefront.yb2bacceleratorstorefront="yb2bacceleratorstorefront" ant addoninstall -Daddonnames =“ secureportaladdon” -DaddonStorefront.yb2bacceleratorstorefront =“ yb2bacceleratorstorefront”

I am getting the error 我收到错误

BUILD FAILED C:\\work\\trail\\hybris\\bin\\ext-addon\\addonsupport\\resources\\addonsupport\\ant\\acc-ant-addons.xml:592: The following error o ccurred while executing this line: C:\\work\\trail\\hybris\\bin\\ext-addon\\addonsupport\\resources\\addonsupport\\ant\\acc-ant-addons.xml:508: The following error o ccurred while executing this line: C:\\work\\trail\\hybris\\bin\\ext-addon\\addonsupport\\resources\\addonsupport\\ant\\acc-ant-addons.xml:354: Storefront template p arameters are missing. 失败的C:\\ work \\ trail \\ hybris \\ bin \\ ext-addon \\ addonsupport \\ resources \\ addonsupport \\ ant \\ acc-ant-addons.xml:592:执行此行时发生以下错误:C:\\ work \\ Trail \\ hybris \\ bin \\ ext-addon \\ addonsupport \\ resources \\ addonsupport \\ ant \\ acc-ant-addons.xml:508:执行此行时发生以下错误:C:\\ work \\ trail \\ hybris \\ bin \\ ext -addon \\ addonsupport \\ resources \\ addonsupport \\ ant \\ acc-ant-addons.xml:354:缺少店面模板参数。 Set at least one storefront parameter (addonStorefront...) in command line : ant addoninstall -Da ddonnames="AddOnName1,AddOnName2" -DaddonStorefront.yacceleratorstorefront="B2CStorefront1,B2CStorefront2" -DaddonStoref ront.yb2bacceleratorstorefront="B2BStorefront1,B2BStorefront2" 在命令行中至少设置一个店面参数(addonStorefront ...):ant addoninstall -Da ddonnames =“ AddOnName1,AddOnName2” -DaddonStorefront.yacceleratorstorefront =“ B2CStorefront1,B2CStorefront2” -DaddonStoref ront.yb2bacceleratorstorefront =“ B2BStorefront1,B2

Am i missing any template property to be set in the accelerator? 我是否缺少要在加速器中设置的任何模板属性? Please help. 请帮忙。

first of all, did you include < extension name="secureportaladdon" /> in the localextensions.xml file? 首先,您是否在localextensions.xml文件中包含<extension name =“ secureportaladdon” />
If so, instead of the ant command to install the addon you can alternatively add the "secureportaladdon" to < requires-extension > in the extensioninfo.xml file of your storefront. 如果是这样,可以替代ant命令安装插件,而可以将“ secureportaladdon”添加到店面的extensioninfo.xml文件中的< require -extension>中。
Now, is "yb2bacceleratorstorefront" the storefront you want to add it to? 现在, “ yb2bacceleratorstorefront”是要添加到的店面吗?
You can go to the administration console and check in platform/extensions, see if that extension you want is included and if its the one you want to use. 您可以转到管理控制台并签入平台/扩展,查看是否包含所需的扩展以及是否要使用的扩展。 If you have used the accelerator to generate your own storefront you would need to install it in yourgeneratedshopstorefront . 如果您使用了加速器来生成自己的店面,则需要将其安装在您生成的shopstorefront中

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM