Community
Participate
Working Groups
Created attachment 275660 [details] minimal projects to illustrate bug AspectJ Builder does not resolve dependencies to other workspace projects in Eclipse 4.8 (Build id: I20180611-0500) with latest AJDT dev builds for Eclipse 4.8 (Version 2.2.4.201805281636). I added some minimal sample projects to illustrate the issue. The samples are a small application and a small library the app depends on. In jdt-dependency-test as Java Project using org.eclipse.jdt.core.javabuilder and the ajdt-dependency-test one as AspectJ Project using org.eclipse.ajdt.core.ajbuilder. After importing all four projects, Eclipse calculates a wrong build order. (see Preferences > General > Workspace > Build) I expect 'lib' is build before 'app' and 'aj-lib' is build before 'aj-app'. The first two are correct but Eclipse will build 'aj-app' before 'aj-lib'. Eclipse 4.6.3 with AJDT 2.2.4.201703272045 finds correct build order for the sample projects. This issue is likely related to Bug 507795. As a workaround I got the correct build order by simply adding <dynamicReference class="org.eclipse.jdt.internal.core.DynamicProjectReferences"/> to the ajbuilder configuration in org.eclipse.ajdt.core/plugin.xml. (like Bug 510360)