Packaging Overview
This chapter provides general information on what steps should be taken to create an application package. It also contains references to the chapters that describe how to perform each step.
It is supposed that you already have a working application. To pack the application according to the APS, do the following:
- Consider how the technologies used by the application will be recognized by Controllers. For details, refer to the Before Creating Application Package chapter.
- Check if your application complies with the content organization requirements declared in the Specification and update the application content if needed. For details on the requirements, refer to the Creating Application Package Physical Structure chapter.
This step is regulated by the Specification in sections 1. Introduction , 4.2. Files, 5.3. Additional files and 5.5. Additional scripts. - (Optional) Write scripts that will manage the application package and its instances. For details, refer to the Creating Application Package Scripts chapter.
This step is regulated by the Specification in sections 4.6. Configuration script and 5.5. Additional scripts. - Create the metadata file that describes the package. For details on how to do it, refer to the Creating Application Package Metadata File chapter.
This step is regulated by the Specification in sections 4.3. Metadata Descriptor, 4.4. Requirements, 4.5. URL mapping, 5. Points of Extensibility. - Archive the application package files. The package should be a ZIP archive with the
.app.zip extension (according to the 4.1. File format section of the Specification).