Project: AspectJ
Bug 131505 Generated aop.xml files contain aspects for all the projects ever built
Reported: 2006-03-13 05:37:45 | Status: resolved fixed

Using the -outxml option in AJDT the generated aop.xml files are not correct after the first build and contain all the aspects that have ever been built (including those in different projects and duplicates if an aspect has been built twice). It seems that there is a global list of aspects (aspectNames in AjBuildManager) that is never cleared.

Files changed in fix:
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjState.java tests/multiIncremental/PR131505/base/C.java tests/multiIncremental/PR131505/inc2/C.java tests/src/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java