Please let me know when to use ant modulegen
and when to use ant extgen
for creating a new extension 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.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With