Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In Hybris, what is the difference between modulegen and extgen? [closed]

Tags:

ant

hybris

Please let me know when to use ant modulegen and when to use ant extgen for creating a new extension in Hybris.

like image 905
sourav Avatar asked Jul 27 '15 14:07

sourav


People also ask

What is Extgen in hybris?

SAP Hybris Commerce ships with an extension generator tool called extgen, which is short for extension generator. Using the extgen tool, you can create new extensions based on extension templates. With the extgen tool, you can create one new extension using one template extension.

How many extensions are generated for ant Extgen command?

Ant modulegen command can be used to create the module. It creates the set of extensions based on the module template we select. Generally for B2B and B2C module , it creates 7 extensions which are logically related and grouped.

What is AddOn in hybris?

AddOns are built on top of the existing SAP Hybris Commerce to extend the functionality of the SAP Hybris Commerce Accelerator. AddOns are a form of extension that allow you to add front end files e.g. JSP, CSS and JS from within your AddOn.


1 Answers

The hybris Commerce Suite ships with an extension generator system called extgen, short for extension generator. Using the extgen, you can create new extensions based on extension templates.

modulegen is a tool delivered with the hybris Commerce Suite that can be used to generate sets of dependent extensions to easily start new projects or create new applications. The modules shipped with the hybris Commerce Suite allow the partner to meet the client requirements from the very beginning by generating fully functional applications that can then be customized. modulegen replaces the schema, package name, extension class prefixes, and some other properties across a set of extensions 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.

Most extensions are appropriate for use with either modulegen or extgen, the exception being yacceleratorfulfilmentprocess, which is appropriate for both.

like image 199
Michal Flasinski Avatar answered Nov 15 '22 12:11

Michal Flasinski