日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

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

發布時間:2023/12/19 编程问答 41 豆豆
生活随笔 收集整理的這篇文章主要介紹了 优化 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 的方法的全部內容,希望文章能夠幫你解決所遇到的問題。

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