Add personalizationtrail Extension

In this step you will create a custom extension using the the yempty template.

Context

For the purpose of this trail, name your new extension the personalizationtrail extension. All customized code will be included in this extension.

Procedure

  1. Create the new personalizationtrail extension using the yempty template. The package name should be de.hybris.personalizationtrail. For details on how to create a new extension, refer to Creating a New Extension.
  2. Create a workspace using the IDE of your choice and import the personalizationtrail extension along with other required extensions.
  3. Add your newly created extension to /config/localextensions.xml file.
    <extension name="personalizationtrail"/>
    This extension has to depend on the personalizationservices, personalizationfacades and personalizationwebservices extensions. Add these to extensioninfo.xml in your new extension and configure relation in your IDE.
    <requires-extension name="personalizationservices"/>    
    <requires-extension name="personalizationfacades"/>  
    <requires-extension name="personalizationwebservices"/>
  4. Build the SAP platform:
    1. Go to hybris/plaftorm directory.
    2. Execute setantenv.bat (for Windows) or . ./setantenv.sh (for unix-based systems).
    3. Run ant all command.

    The platform is built.