Packaging

A widget processor class and all the properties files that configure it must be correctly packaged in a JAR file before you can deploy it. To package it you must:

  1. Copy the files into a folder structure that matches:

    • The package name of your widget processor class

    • The Content Engine's package naming conventions

  2. Pack it in a JAR file

Widget Processor Package Structure

For the widget processor example shown earlier, you would need to create a JAR file with the following structure:

com
+-escenic
|  +-servlet
|   +-default-config
|     +-com
|       +-escenic
|         +-framework
|           +-controller
|           |  +-HelloWorldWidgetDefaultViewWidgetProcessor.properties
|           +-descriptor
|              +-DescriptorRegistry.properties
|              +-HelloWorldWidgetDescriptor.properties
+-mycompany
  +-view
    +-processor
      +-HelloWorldWidgetDefaultViewWidgetProcessor.class