Community
Participate
Working Groups
Build: I20080305-1100 If I change my default API profile, my entire workspace is rebuilt from scratch (FULL_BUILD). This seems excessive - it seems only the API builder needs to actually run. I have a very large workspace, and only one small project with an API builder on it, so seeing all the .java files in my workspace being recompiled was a surprise. Who knows what other builders users may have installed, and how long they might take to rebuild...
This is the same problem we encountered for bug 221209. The fix for that was that we collect 'api aware' projects and build those using only the api analysis builder. Testing on I20080305-1100 I only see the api analysis builder being invoked: Thu Mar 06 19:03:11 CST 2008 - [Worker-10] Invoking (FULL_BUILD) on builder: Api AnalysisBuilder(component_c) Thu Mar 06 19:03:11 CST 2008 - [Worker-10] Builder finished: ApiAnalysisBuilder( component_c) time: 16ms .... <snip> But it probably should only be an incremental build. Investigating.
To see what builders were being run I started eclispe with the following debug options: org.eclipse.core.resources/debug=true org.eclipse.core.resources/perf/builders=10000 org.eclipse.core.resources/build/failure=true org.eclipse.core.resources/build/interrupt=true org.eclipse.core.resources/build/invoking=true org.eclipse.core.resources/build/delta=true org.eclipse.core.resources/build/needbuild=true org.eclipse.core.resources/build/needbuildstack=true org.eclipse.core.resources/build/stacktrace=true
changed build type to be incremetal, since we are doing an incremental build :)
please verify Darin W
reopen to dupe. From further testing (of course once I closed the bug) I found that in some cases we do not get a full analysis of all types in the case of specifying an inremental build... In that case this bug is a dupe of 221209. *** This bug has been marked as a duplicate of bug 221209 ***