+

Search Tips   |   Advanced Search

Components directory

The components directory and its subdirectories in the PAA file archive are where all deployable artifacts must be stored. If you examine the content of the components directory in the file...

...you see one component, sample1. There is always at least one component in a PAA file. However, there is no limit on the number of extra components that we can include. Potentially all the deployable artifacts can be stored in a single component. However, if there are multiple stand-alone applications to be stored in the PAA file, create a component for each application. To reuse components across PAA file distributions, separate artifacts into multiple components.

There is no limit on the type of artifacts that can be contained within a specific component. There is a limitation on where the artifacts can be placed within the component directory sub tree structure. A component can include artifacts and configuration details for an entire application. It can also contain only artifacts that relate to a certain part of the application. For example, we might include all the theme-related artifacts in one component, and your XML access scripts to create the pages for your site in another. The Solution Installer is not concerned with the approach selected. It processes each component based on the dependencies that are listed in the sdd.xml file. However, it might make sense to have some separation to handle reusability of components. Using the example...

cd components/Sample1. The following directories must be present with the component level sdd.xml file:

Parent topic: PAA file structure overview