About the build.xml file

The build.xml is almost identical to what you would find in a standard module. It contains module meta information, a list of external module dependencies, it defines the packages the module contains, and specifies other file resources to be included within the module. The one key difference is the inclusion of the "synthetic" attribute on the <module/> tag, which instructs the build tool to assemble the files as an .sjar module instead of the standard .jar module.

NoteThe "synthetic" attribute on the <module/> tag instructs the build tool to assemble the files as an .sjar module.

Figure 12. Sample build.xml file


Sample build.xml file