有没有办法将智能编辑、草率编译排除在蚂蚁构建过程之外?这个单调的过程增加了将近2分钟的额外时间来完成蚁群编译。
发布于 2022-02-16 09:43:54
匆忙构建是在smartedittools扩展中触发的,因此即使您的店面没有安装一个插件,或者您根本没有一个店面(例如,当使用像斯巴达克斯那样的解耦前端时,它也会升级)。
您可以使用smartedittools.only.build.once=true标志告诉它只构建一次,参见smartedittools/project.properties中的注释
# Introduce new flag to skip smartedit build if bundle files(smartedit/apps/smartedit-master/dist/**) already generated.
# Smartedit dev team: Will keep value false by default since Rush incremental build working fine under git working tree.
# Other hybris team and Non-Smartedit partner: Use true to avoid build smartedit everytime in commerce-suite.zip env.
# Smartedit partner: Update the value on-demand, delete the smartedit bundle or change flag to true will build again.
smartedittools.only.build.once=false发布于 2021-12-31 09:58:40
hybris/bin/modules/npm-ancillary/npmancillary/resources/npm/node_modules
ant addonunistall命令卸载addon (可选,因为卸载addon而不删除上述文件夹不会减少构建时间,但在我看来,最好卸载它,这样项目的开发人员就不会感到困惑):addonuninstall -DaddonStorefront.yacceleratorstorefront=yourstorefront -Daddonnames=smarteditaddon
发布于 2021-12-29 13:49:38
如您所知,从哪个build.xml宏中调用宏,因此请注释相同build.xml中的宏条目并将其放置在config->中,应遵循原始文件的相同目录结构。
然后跑:
ant customize and ant clean allhttps://stackoverflow.com/questions/70518125
复制相似问题