SAP Hybris中的配方是什么? [英] What is recipe in SAP Hybris?

查看:121
本文介绍了SAP Hybris中的配方是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我们安装配方时,它仅生成店面扩展,而其他不生成它是什么原因? 我们也可以使用ant modulegen创建自定义扩展吗?

When we install recipe it generates only storefront extension, not others what is the reason for that? Can we create a custom extension using ant modulegen as well?

推荐答案

如果您了解modulegen&食谱,一切都会变得清晰起来.

If you understand the difference between modulegen & Recipes, things will become more clear to you.

modulegen工具随SAP Commerce一起提供,可用于生成相关扩展集,以快速启动新项目或创建新应用程序. SAP Commerce随附的模块允许您生成可以自定义的功能齐全的应用程序,从而从一开始就帮助您满足客户要求. modulegen工具在一组扩展中替换了架构,程序包名称,扩展类前缀和其他一些属性,同时保持了它们之间的关系.该工具作为ant任务运行,因此需要在系统上存在ant库.

The modulegen tool is delivered with SAP Commerce and can be used to generate sets of dependent extensions to quickly start new projects or create new applications. The modules shipped with SAP Commerce help you to meet client requirements from the very beginning by allowing you to generate fully functional applications that can then be customized. The modulegen tool replaces the schema, package name, extension class prefixes, and some other properties across a set of extensions, all while maintaining the relationships between them. The tool is run as an ant task, so it requires the ant libraries to be present on the system.

来源: help.hybris

要出于开发和演示目的而自动安装SAP Commerce,可以使用安装程序配方.配方是gradle脚本,用于创建目录,移动文件,更新配置和属性文件以及初始化系统.

To automate your installation of SAP Commerce for development and demonstration purposes, you can use an installer recipe. Recipes are gradle scripts that take care of creating directories, moving files, updating configuration and properties files, and initializing the system.

来源: help.hybris

回答您的问题

当我们安装配方时,它仅生成店面扩展,而不会生成店面扩展 其他人是什么原因呢?

When we install recipe it generates only storefront extension, not others what is the reason for that?

基本上,配方为您的项目增添了风味.假设您想探索B2C SAP Hybris Commerce,那么您只需要安装b2c_acc.它将在config文件夹下创建具有所有B2C所需扩展名的 localextensions.xml .配方不会生成自定义扩展名.您必须为此运行modulegen.

Basically, recipe adds a flavor to your project. Let suppose you want to explore the B2C SAP Hybris Commerce, then you just need to install b2c_acc. It will create localextensions.xml under your config folder with the all required extensions for B2C. The recipe doesn't generate custom extensions. You have to run the modulegen for that.

我们也可以使用ant modulegen创建自定义扩展吗?

Can we create custom extensions using ant modulegen as well?

是的,仅用于此目的.

这篇关于SAP Hybris中的配方是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆