Create a new extension in Hybris

To create an extension we will use ant extgen command and yempty template .

1. Go to platform directory .
2. Run setantenv.bat commad.
3. Run ant extgen
4. Extgen prompts you to enter extension name . Enter extension name and press Enter.
5. Enter package name as desired .
6. New Extension will be created in custom folder in your hybris /bin directory.

7. Add Extension name to localExtensions.xml.

8. Run ant clean all.

Post a Comment