Unlike targets, Apache Ant properties are immutable, so once they are set their values remain throughout the life span of a build process. For this reason, it is important that the following order of property file imports be maintained:
builtools/userenv.properties
buildtools/environment.properties
buildtools/common.properties
module-
name
/build.properties
To make managing the order of property files easier, the buildtools/common.xml
file specifies the property files in the correct order. New Commerce Reference Store modules should import the buildtools/common.xml
file to ensure that this order is maintained.