Bug 249212 - [plan] Follow on incremental analysis for multi-project setups
Summary: [plan] Follow on incremental analysis for multi-project setups
Status: RESOLVED DUPLICATE of bug 268827
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: DEVELOPMENT   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 1.6.4   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-30 16:32 EDT by Andrew Clement CLA
Modified: 2009-03-21 12:01 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Clement CLA 2008-09-30 16:32:03 EDT
In bug 245566 we covered decreasing the time spent preparing for an incremental compile and this greatly benefited large projects.  However as per comment 35 in that bug ( https://bugs.eclipse.org/bugs/show_bug.cgi?id=245566#c35 ) there is still something wrong for multiple interdependent small projects.  This bug is to cover further analysing that situation.
Comment 1 Andrew Eisenberg CLA 2008-10-07 16:28:32 EDT
Earlier on, you had introduced the method AsmManager.getModelChangesOnLastBuild().  When there is a change to an aspect on the aspect path, the files affected by it are *not* placed on this file, but they should be.
Comment 2 Andrew Clement CLA 2008-10-15 14:50:48 EDT
The case described in comment 1 uncovered a bit of a mess.  Analysis of class file changes on the aspectpath is rather incomplete and so I've fleshed it out.  A change to a .class file on the aspectpath *which contained an aspect* will now trigger a full build.  I think it previously got ignored, which is definetly not the right thing to do.  This does mean we may suffer a performance degradation due to the full build but I need to play around with it in a real scenario and see if it is a real issue.  I have some ideas for doing things properly but they are non-trivial.

This should also address 246476 comment 13.
Comment 3 Andrew Clement CLA 2008-12-01 12:20:06 EST
Not going to make it for 1.6.3
Comment 4 Andrew Clement CLA 2009-03-21 12:01:54 EDT
the multi project incremental performance is now being addressed under bug 268827.  That bug will cover optimizing for a chain of AspectJ projects and a chain where AspectJ projects depend on JDT projects.  The issue of JDT projects depending on AspectJ projects will be the remaining case I haven't even tried - i dont know how slow that is.

*** This bug has been marked as a duplicate of bug 268827 ***