Community
Participate
Working Groups
In a fresh OTDT I tried to attach a source folder to the org.eclipse.jdt.core bundle (due to bug 370650). This seemed to work well but caused a build path error: Duplicate extra attribute: 'org.eclipse.objectteams.originBaseBundle0' in classpath entry '/home/local/eclipse/plugins/org.eclipse.jdt.core_3.7.3.v_OTDT_r202_201201310618.jar' for project 'Reachability' This extra attribute is added by org.eclipse.objectteams.otdt.internal.compiler.adaptor.AdaptorActivator.JavaCore#addBaseBundleAttribute(..) It seems we need to cleanup similar attributes which we added previously?
Fixed via commit e7b492ac9b748a4588a50dd473201e48b7f8e4ba When adding a new extra attribute we now just discard pre-existing ones. While testing this, I found that base imports were not properly checked against the aspect binding when also discouraged/forbidden access was involved. Fixed in BaseImportChecker.
Filed a fup on a related issue: bug 390149, that the main issue here has been verified using build 2.2.0.201209221349.