In Ant, the targets from the current build file override any targets specified in any imported build files. Because of this behavior, the Commerce Reference Store build system configures the module-name/build.xml files to import the buildtools/common.xml build file. In this way, module-specific targets override any identically named global targets defined in common.xml. New Commerce Reference Store modules should follow this same configuration.

Note: If a target is not defined in the current build file but it is defined in multiple imported build files, the first build file to be imported wins.

Copyright © 1997, 2013 Oracle and/or its affiliates. All rights reserved. Legal Notices