If you build aui-base from src/aui-base/build.xml you need to manually call "ant build-modules" from the project dir build.xml to regenerate the modules mapping and prepend to the aui-base.js. Although, the project dir build.xml "ant all" automatically invokes the "build-modules" target after all component are built.