日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 >

优化 recipe 达到快速启动 SAP Hybris Accelerator Storefront 的方法

發布時間:2023/12/19 46 豆豆
生活随笔 收集整理的這篇文章主要介紹了 优化 recipe 达到快速启动 SAP Hybris Accelerator Storefront 的方法 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

build.gradle 文件只需維護如下 extensions 即可:

apply plugin: 'installer-platform-plugin' apply plugin: 'installer-addon2-plugin'def platform = platform {localProperties {'# place your custom properties into this file instead of modifying the project.properties''# all properties in this file have higher priority and will overwrite the platform/project.properties settings.'property '#mykey', '#myvalue'property '#hac.webroot', '/hac'property 'recaptcha.publickey', ''property 'recaptcha.privatekey', ''property 'googleApiKey', ''property 'website.electronics.http', 'http://electronics.local:9001/yacceleratorstorefront'property 'website.electronics.https', 'https://electronics.local:9002/yacceleratorstorefront'property 'backoffice.solr.search.index.autoinit', 'false'}afterSetup {ensureAdminPasswordSet()}extensions {// spartacus extensionsextName 'spartacussampledata'extName 'electronicsstore'extName 'yacceleratorbackoffice'extName 'yacceleratorcore'extName 'yacceleratorfacades'extName 'yacceleratorinitialdata'extName 'yacceleratorstorefront'extName 'commerceservicesbackoffice'extName 'commercewebservices'extName 'commercewebservicescommons'// promotion-engineextName 'promotionenginebackoffice'extName 'promotionenginesamplesaddon'extName 'promotionengineservices'extName 'solrserver'extName 'cms2'extName 'cmsbackoffice'extName 'cmsocc'extName 'cmswebservices'// yformsextName 'orbeonweb'extName 'xyformsbackoffice'extName 'xyformsfacades'extName 'xyformssamples'extName 'xyformsservices'extName 'xyformsstorefrontcommons'extName 'xyformsweb'}}task createStoreFrontExt {doLast {def prePlatform = platformFactory.createPlatform()prePlatform.createConfigDirIfNotExist()prePlatform.resetConfig()prePlatform.createExtension {templateName 'yacceleratorstorefront'extensionName 'yb2bacceleratorstorefront'packageName 'de.hybris.platform.yb2bacceleratorstorefront'}def b2bPropFile = "${suiteHome}/hybris/bin/custom/yb2bacceleratorstorefront/project.properties"ant.replace(file: b2bPropFile, token: "storefrontContextRoot", value: "b2bstorefrontContextRoot");} }task setup(dependsOn: createStoreFrontExt) {doLast {platform.setup()} }task buildSystem(dependsOn: setup) {doLast {platform.build()} }task initialize(dependsOn: buildSystem) {doLast {platform.initialize()} }task start {doLast {platform.start()} }task startInBackground {doLast {platform.startInBackground()} }task stopInBackground {doLast {platform.stopInBackground()} }

最后加載了 84 個 extensions:

如何解決 license 問題:

訪問 SAP license 網站:

點擊 add license key 按鈕:

hardware key 選擇:Y4989890650

生成了一個 CPS.txt 文件:

使用命令行 install.bat -install CPS.txt 安裝 license:

只花了三分多鐘就成功啟動了:

重啟后,license 更新成功:

更多Jerry的原創文章,盡在:“汪子熙”:

總結

以上是生活随笔為你收集整理的优化 recipe 达到快速启动 SAP Hybris Accelerator Storefront 的方法的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。