SAP Hybris suite , Hybris tutorial, Java, J2ee Stuff Online-

0
How make you extension as extension template available for ant extgen command.

Open 1 Answers 464 Views

As you allready know that ant extgen command is used for create extension in hybris

when you type command

> ant extgen

 

below comes to console
[input]
[input] Please choose a template for generation.
[input] Press [Enter] to use the default value ([yempty], yaddon, yacceleratorfulfilmentprocess, ychinaacceleratorstorefront, ycommercewebservices, ycommercewebservic

 

so in above all yempty, yaddon etc comes option as extension template

so my question how to make your own extension as extension template available for ant extgen command

It is very simple answer , in your extension's extensioninfo.xml file put below line

 

<meta key="extgen-template-extension" value="true" />

 

After that your extension will available as extension template for ant extgen

 

1 Answer

0
after following the same, the extension does appear in the options for extgen, however for somereasons the the same extgen fails. stating e
answered Nov 24, 2017 by Sourav

...