Community
Participate
Working Groups
If the API description of some element changes (for exmaple, adding or removing a @noimplement tag to an interface), all dependant projects need to be re-analyzed by the builder.
This is similar to the Java builder. When a class changes, all dependants have to be re-compiled.
Created attachment 86595 [details] Proposed fix based on the way the java builder handles dependant projects.
Created attachment 86626 [details] updated patch Example used for testsing: 1. get debug.core and jdt.debug.core from CVS and set them up as api projects. 2. open DebugElement and JDIDebugElement 3. add a noextend flag to the getAdapter method in DebugElement and save expected: the extended method in JDIDebugElement would be flagged as a usage error happens: nothing (although the error is flagged is you manually rebuild) The patch does correctly provide the referencing projects to debug.core, but when the builder is invoked on jdt.debug.core the resource from the delta is only the project (which fails test to make sure we only run the builcder on source/class files); causing no work to be done building any part of jdt.debug.core. We need to provide/derive more information in this type of case. We should investigate how the Java builder knows which class files to build in referencing projects.
Created attachment 89019 [details] patch for jdt.core This patch is for jdt.core, for a few methods used internally for walking the reference collections.
Created attachment 89020 [details] api tool builder patch This patch provides the changes to the api tool builder to accomodate the new incremental builder for structural/non-structural changes.
Created attachment 89041 [details] updated patch This updated patch changes the way we derive class file names when trying to create scope elements for problem searching.
Created attachment 89146 [details] updated This further updated patch correctly handles the case of multilple output locations, and removes some dead code.
jdt patch has been applied. applied newer version of patch which more accurately places markers with selections.
please verify Olivier
Verified.