Bug 111764 - List of matching aspects growing as java files are touched
Summary: List of matching aspects growing as java files are touched
Status: RESOLVED FIXED
Alias: None
Product: AJDT
Classification: Tools
Component: UI (show other bugs)
Version: 1.3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 1.3.1   Edit
Assignee: Matt Chapman CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-06 09:36 EDT by Jason King CLA
Modified: 2006-03-07 08:37 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason King CLA 2005-10-06 09:36:24 EDT
Java Version: 1.5.0_05 (win xpsp2)
Eclipse: 3.2M2
AJDT: 1.3.020050923175100

I'm trying to create an AspectJ project to monitor the coding standards on
serveral "vanilla" java projects.

I created my AspectJ project, and added my Java projects to the build path as
dependent projects (and exported the required entries). I put the output path
(bin) in the AspectJ inpath.

The number of errors/warnings in the problems tab keeps on increasing each time
I touch any java file and save it (the number doubles each time). I have an
aspect that declare warnings (or errors).

I've tried changing the aspect-J compiler options, (incremental etc) but this
does not help. The only way to reset the list of reported errors/problems is to
clean all the projects.

Example of aspect code:
public aspect MyAspect
{
	public pointcut callSystemOut():
		get( * System.out );
	
	declare error: callSystemOut(): "System.out should not be called";
}
Comment 1 Matt Chapman CLA 2006-03-06 12:06:49 EST
Reproduced. Still a problem on latest 1.3.1 and 1.4.0 builds.
Comment 2 Matt Chapman CLA 2006-03-07 08:37:36 EST
Fixed for 1.3.1 and 1.4.0

AJDT1.3 build.72 Build Successful
BUILD COMPLETE -  build.72
Date of build:	03/07/2006 08:16:54
Time to build:	17 minutes 21 seconds
Last changed:	03/07/2006 08:01:54
Last log entry:	fix and test for 111764: List of matching aspects growing as java files are touched

AJDT1.4 build.63 Build Successful
BUILD COMPLETE -  build.63
Date of build:	03/07/2006 05:34:27
Time to build:	18 minutes 20 seconds
Last changed:	03/07/2006 05:19:27
Last log entry:	111764: List of matching aspects growing as java files are touched