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 的方法相关推荐

  1. SAP Hybris Accelerator和SAP Spartacus的比较

    Spartacus: A replacement for Accelerator templates Uses modern web technologies and frameworks It's ...

  2. SAP Hybris Accelerator的安装和使用方式

    官网链接 进入文件夹<HYBRIS_HOME>/installer,使用cx recipe进行安装: install.bat -r cx -A initAdminPassword=[adm ...

  3. 在SEO优化中如何有效快速提升网站权重与排名的方法

    更多写作与参考学习材料等可登录ZG文库网http://www.zgwenku.com/下载. 对于每个seo从业者来说,自从加入seo这个大军之后我们对于权重的探索以及需求从未停止!我们经常听到某某说 ...

  4. 在SAP Hybris commerce Storefront里购物下单

    操作过程和大家平时在网上购物没有太大差别. 选中一款心仪的产品,点击Add to cart加到购物车里: 点击Check out结帐: 生成一个购物车ID: 维护发货地址: 维护发货方式: 点击Pla ...

  5. SAP Hybris Commerce Cloud Accelerator Storefront 在 Eclipse 中的调试

    (1) 下载安装包之后,使用 recipe 进行安装. install.bat -r cx ant clean all install.bat -r cx initialize - 这一步花了我1小时 ...

  6. Alibaba Cloud Linux 2 LTS 快速启动优化实践

    作者:阿里云操作系统:张世乐   概述/Overview Alibaba Cloud Linux 2(原Aliyun Linux 2,简称Alinux 2)是阿里云操作系统团队基于开源Linux内核4 ...

  7. win10关闭快速启动_Win10卡顿?不兼容?最全Win10优化

    前言: 前些天有很多小伙伴在评论区留言说:自从安装了Windows10系统以后,刚开始还没啥问题,但是运行了一段时间以后,电脑明显速度慢了一些,有时候还会出现卡顿的问题,就是一下快,一下慢.还有的老游 ...

  8. imx8mq-evk快速启动-bootloader时间优化(eMMC启动)

    一.imx8mq的bootloader分析 关于imx8mq的bootloader系列,可以参考前面的三篇文章 imx8mq - u-boot-spl启动分析 imx8mq - bootloader编 ...

  9. 君正Zeratul开发(5)——快速启动优化

    前言:   Camera 需要快速启动, 以第一时间抓拍到图像,君正官方给的第一帧图像是200ms,实际应用中时间会长不少. 1.尽快运行主程序  主程序应该放置在 rootfs 中并第一时间加载运行 ...

最新文章

  1. 「机器学习速成」数据预处理,特征工程,良好特征的特点
  2. 苏炫杰全国计算机等级考试,第九届全国中学生物理竞赛预赛第一试试题.doc
  3. 程序员,请不要抢系统管理员的饭碗
  4. 蓝桥杯 十进制数转八进制数
  5. SVN使用CVS使用
  6. 程序员算事业单位吗_清北毕业出来的程序员不如三本公务员?网友:你开心就好...
  7. Python 大规模异步新闻爬虫、google翻译、百度翻译、有道翻译、百度指数
  8. Android逆向笔记-4种方式破解下例中的smali代码
  9. 江苏海洋大学计算机知识竞赛,厦门大学第十届海洋知识竞赛重磅来袭!
  10. 通配符?子字符串匹配主字符串次数_leetcode 44 通配符匹配(c++)
  11. 刚刚,自动驾驶路测国家规范出台:无人车即将开上更多实际道路
  12. mysql varbinary 插入_Mysql中如何插入VarBinary二进制类型?
  13. 【信息技术】【2014】【含源码】PGP加密软件
  14. python调用excel的宏_配置Office Excel运行Python宏脚本
  15. lzg_ad:FBW控制台命令详解
  16. 3.8 js过渡效果
  17. Keras实现小数量集图片分类——6类别Birds数据集分类
  18. 计算机专业课程计划,计算机专业课程表(教学计划)
  19. 英语中的 姓氏/Surname
  20. 台式计算机虚拟内存怎么设置,教你怎么设置电脑的虚拟内存

热门文章

  1. pascal行人voc_利用Pascal VOC目标检测数据深度学习进行目标检测
  2. 说说基于网络的五种IO模型
  3. HttpServletRequest 对象
  4. 结对-结对编项目作业名称-需求分析
  5. HDU 2546 饭卡(01背包裸题)
  6. String与string的区别
  7. 为嵌入式对象(值对象)加校验
  8. L型代码结构案例:Link访问权限(上)
  9. HDU 3400 Line belt【三分法】
  10. 尚硅谷_JavaScript_学习笔记