Bug 121290 - Incremental Compilation Gave Errors from Missing aop.xml file
Summary: Incremental Compilation Gave Errors from Missing aop.xml file
Status: RESOLVED WORKSFORME
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: DEVELOPMENT   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-16 17:36 EST by Ron Bodkin CLA
Modified: 2006-05-10 11:12 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 Ron Bodkin CLA 2005-12-16 17:36:18 EST
I used Eclipse to move an aspect from one package to another in Eclipse (debug -> glassbox.debug). Eclipse changed the package in the source file but didn't move the file. The resulting incremental compilation in AJDT produced 15 error messages like this:

Severity	Description	Resource	In Folder	Location	Creation Time	Id
2	aspect 'debug.TraceRepositories' woven into 'glassbox.track.api.AbstractCompositePerfStatsImpl' must be declared in an aop.xml file.	AbstractCompositePerfStatsImpl.java	glassboxAgent/src/glassbox/track/api		December 16, 2005 2:32:09 PM	1491035
Comment 1 Ron Bodkin CLA 2005-12-16 17:37:49 EST
Actually the refactoring in Eclipse copied the file to the new location but didn't delete it from the old one... Oddly, the file in the new location has the old package and vice versa!
Comment 2 Wes Isberg CLA 2006-05-10 11:12:40 EDT
This works for me.  When I move a .java aspect, everything works.  When I move a .aj aspect, I get an error "compilation unit must end in .java" which at least gives me fair warning.  In closing this, I'm assuming that further work should be handled in the .aj extension support.  Please reopen otherwise.
stalebug