Bug 145438 - Broken incremental builds when triggered by incremental build of other project
Summary: Broken incremental builds when triggered by incremental build of other project
Status: RESOLVED FIXED
Alias: None
Product: AJDT
Classification: Tools
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: AJDT-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-05 18:49 EDT by Ron Bodkin CLA
Modified: 2007-01-18 04:58 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ron Bodkin CLA 2006-06-05 18:49:52 EDT
I have two AspectJ projects where one depends on the other and has it on its aspectpath. If I try to run a test case in the project that depends on the other one I find that the incremental builds aren't complete (e.g., they don't apply ITD's), e.g., if I run a test case in that project. If I turn off incremental compilation, then build them fully and then run the test case things work properly. Here's a sample output from the AJDT Event Trace. If the last zip of the 2 projects was useful, I could zip up the latest state (or try running TestVirtualCompositePerfStats with incremental compilation enabled to see if you can already reproduce this).

3:36:56 PM Build kind = FULLBUILD
3:36:56 PM Project=glassboxMonitor, kind of build requested=Full AspectJ compilation
3:36:56 PM Builder: Tidied output folder, deleted 0 .class files from C:\devel\glassbox\glassboxMonitor\bin
3:36:56 PM Preparing for build: not going to be incremental because no successful previous full build
3:36:57 PM Timer event: 901ms: Time to first compiled message
3:36:58 PM Timer event: 1632ms: Time to first woven message
3:37:00 PM AspectJ reports build successful, build was: FULL
3:37:00 PM AJDE Callback: finish()
3:37:00 PM Timer event: 3535ms: Total time spent in AJDE
3:37:00 PM Timer event: 220ms: Create element map (3156 rels in project: glassboxMonitor)
3:37:00 PM Types affected during build = 112
3:37:01 PM Timer event: 661ms: Add markers (435 markers)
3:37:01 PM Timer event: 5057ms: Total time spent in AJBuilder.build()
3:37:01 PM ===========================================================================================
3:37:01 PM Build kind = AUTOBUILD
3:37:01 PM Project=glassboxAgent, kind of build requested=Incremental AspectJ compilation
3:37:02 PM Preparing for build: not going to be incremental because path change detected (one of classpath/aspectpath/inpath/injars)
3:37:02 PM Falling back to batch compilation
3:37:02 PM Preparing for build: not going to be incremental because no successful previous full build
3:37:04 PM Timer event: 3024ms: Time to first compiled message
3:37:06 PM AJDE Callback: finish()
3:37:06 PM Timer event: 4416ms: Total time spent in AJDE
3:37:06 PM Timer event: 461ms: Create element map (221 rels in project: glassboxAgent)
3:37:06 PM Types affected during build = 172
3:37:07 PM Timer event: 40ms: Add markers (123 markers)
3:37:07 PM Timer event: 5928ms: Total time spent in AJBuilder.build()
Comment 1 Matt Chapman CLA 2007-01-18 04:58:39 EST
I think this has been fixed in the compiler. Please reopen if you can still reproduce with a recent build.