Bug 183369 - AJDT always does full rebuild when there are two different output directories
Summary: AJDT always does full rebuild when there are two different output directories
Status: RESOLVED FIXED
Alias: None
Product: AJDT
Classification: Tools
Component: Core (show other bugs)
Version: 1.4.1   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: 1.4.2   Edit
Assignee: AJDT-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-20 09:02 EDT by Carlos Pita CLA
Modified: 2007-04-20 18:07 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 Carlos Pita CLA 2007-04-20 09:02:21 EDT
For example for a maven generated eclipse project, where you have classes and test-classes output directories each by its own, any tiny change (even when it's done to a class that is not an aspect nor advised) triggers a full rebuild with the following log:

8:09:26 PM Build kind = AUTOBUILD
8:09:26 PM Project=cereza, kind of build requested=Incremental AspectJ
compilation
8:09:26 PM build: Examined delta - source file changes in required
project cereza
8:09:26 PM Preparing for build: not going to be incremental because
path change detected (one of classpath/aspectpath/inpath/injars)
8:09:26 PM Falling back to batch compilation
8:09:26 PM Preparing for build: not going to be incremental because no
successful previous full build
...

If you change every project source folder to have the same output dir (for example the default one), the problem disappears.
Comment 1 Matt Chapman CLA 2007-04-20 09:44:14 EDT
This sounds familiar, I think this may have been fixed already. Please could you try with the latest development build to verify whether this is the case? Either:
1.4.2.200703020612 for Eclipse 3.2.2 or
1.5.0.200703300605 for Eclipse 3.3M6
Note that if you are on Eclipse 3.2 or 3.2.1 and wish to upgrade to the above version of AJDT 1.4.2, you need to first upgrade to Eclipse 3.2.2.

Comment 2 Carlos Pita CLA 2007-04-20 16:51:55 EDT
I've upgraded to eclipse 3.2.2 + ajdt 1.4.2 and now I get incremental builds as expected. So the bug report just applies to 1.4.1. Thank you Matt.
Comment 3 Matt Chapman CLA 2007-04-20 18:07:57 EDT
Ok, marking as fixed in 1.4.2