Chapter 5. The Concept of Software Packages

Table of Contents
5.1. Use of software packages for build management
5.2. Use of software packages for version management
5.3. Use of software packages for process management

Software Packages are used by ComPact in all of its application domains.

A Software Package is a collection of modules, data, and directories, extended by a purely declarative description of all elements. The product of a software package is a library of compiled code objects, a runnable program, formatted documentation, or all of the above.

This simple concept is easily understood by programmers, team leaders, and managers.

Here is a typical structure of a software package:

Figure 5-1. Sample Package Structure



The structure of software packages may be different for different kinds of packages, but there must be enough unique elements to be able to identify a certain kind of package.

5.1. Use of software packages for build management

Software Packages are the base of ComPact's build management facilities. Using the known structure of the package and all information of the elements declared in the package description, ComPact is able to issue actions to create all desired derived files. This includes especially



To be able to use the products of other packages, these may be imported into the current package via an import statement in the package description file. To be able to define exactly what version of packages are to be used, import statements may be extended by a version range. The pragmatics intended by version numbers are as follows: