A module’s build.properties
file must include the following:
module.name
: The name of the module.module.parent
: The name of the module’s parent module.install.dir
: The directory where the module is installed.
In addition, a module’s build.properties
file may include the following:
modules.build.order
: The module’s sub-modules, in the order they should be built. For more information on this property, see Understanding the modules.build.order Property.classpath
: A module-specific classpath that references the JAR files of other Commerce Reference Store modules that are required to build this module.lib.classpath
: A module-specific classpath that references any third-party libraries required to build this module.Custom properties required for the module.
Note: The classpath
and lib.classpath
references augment those that already exist in the global ATG classpath that has been calculated by the -set-dynamo-classpath
target in Store/buildtools/common.xml
.
The following example shows the build.properties
file for the Store.Estore
module:
module.parent=${module.root.parent} module.name=Estore # Third-party libraries needed to compile the module. lib.classpath=${dynamo.root.dir}/DAS/lib/commons-codec-1.3.jar # Configlayers directory configlayers.dir=${basedir}/configlayers # Installation directory install.dir=${dynamo.root.dir}/${install.unit}/${module.parent}/${module.name} # The list of sub-modules, in the order of dependency. Modules listed here are # built after the current module is built. modules.build.order=EStore/Versioned/build.xml,EStore/International/build.xml