Adding a new module requires some additional steps, outlined below.
To add a new module to Commerce Reference Store:
Create the module’s directory. If the new module will be a child of an existing module, create its directory inside the parent module’s directory. For example, to create a
Store.NewModulemodule, create aNewModuledirectory under<ATG11dir>/CommerceReferenceStore/Store/. This directory should contain any source Java and/or configuration files as well as aMETA-INFdirectory that contains amanifest.mffile for the new module (see the ATG Platform Programming Guide for information on creating aMANIFEST.MFfile).Write a
build.xmlfile for the module. Make sure thebuild.xmlfile importscommon.xml. Also, if you need to override any of the targets defined incommon.xml, define those overrides in this build file.Edit the
build.propertiesfile of the new module’s parent to add the new module’sbuild.xmlfile to themodules.build.orderproperty. Assuming that the new module is a sub-module of the rootStoremodule, the path would look similar to this:modules.build.order=NewModule/build.xmlWrite a
build.propertiesfile for the module. This file must specify the module’s:Name (
module.nameproperty)Parent (
module.parentproperty)Installation directory (
install.dirproperty)
Optionally, you may also want to specify:
The build files for any child modules (
modules.build.orderproperty)A module-specific class path that references other Commerce Reference Store modules required to build the module (
classpathproperty).A module-specific class path that references any third-party libraries required to build the module (
lib.classpathproperty)Any custom properties required for the module’s build project.
Build the module using the
ant allcommand. See Building a Commerce Reference Store Module and its Sub-Modules for detailed instructions.After building the new module, you must stop and remove the affected ATG server instances and then re-assemble and re-deploy them. See Re-assembling and Re-deploying an ATG Server Instance for detailed information on this step.

