About synthetic module directory structure

Each synthetic (.sjar) module is managed in its own directory structure. Synthetic modules have a folder and file structure similar to that of standard modules. The .sjar module’s contents must include a build.xml file and a module-include.xml file, and cannot contain any Java source code. Figure 11 shows an example of an .sjar directory structure, including a number of other file resources in addition to the required build.xml and module-include.xml files.

Figure 11. Synthetic module directory structure


Synthetic module directory structure

Once the .sjar contents are ready, the build command can be used just as with standard modules to compress the files into an .sjar module within the modules directory. For information on using the Build tool, refer to that section in the “Niagara Developer Guide.”