Community
Participate
Working Groups
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
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!
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