This sounds like a bug since you've opened the aspect with the AspectJ/Java Editor. Please raise a bug against AJDT (https://bugs.eclipse.org/bugs/) including the version of AJDT you're using plus, if possible, the JavaBeanAspect.
Thanks, Helen "José González Gómez" <jgonzalez.openin To [EMAIL PROTECTED]> aspectj-users@eclipse.org Sent by: cc aspectj-users-bou [EMAIL PROTECTED] Subject Re: [aspectj-users] Re: Weird problem with AJDT: source full of 06/09/2006 09:50 inexistent errors Please respond to [EMAIL PROTECTED] ipse.org Tried it, no luck :o( Thanks anyway 2006/9/5, Daniel Mahler <[EMAIL PROTECTED]>: Jose, I get spurious errors from my aspect projects reasonably often. I alway do Project->Clean when I have a problem I do not understand, as that makes spurious problems go away. I have not reported in in bugzilla as it is hard to reproduce. cheers D On 9/5/06, José González Gómez <[EMAIL PROTECTED]> wrote: > Hi there, > > I'm facing a really weird behavior of AJDT and would like to know if > somebody has found the same. The behavior seemed to be kind of random, but > it seems I've been able to reproduce it consistently. The steps: > > 1. I have an aspect named JavaBeanAspect.aj, opened with the AspectJ/Java > editor, showing a lot of error markers. The errors seemed to be caused by > Eclipse parsing the file as a java file instead of as an aspect. For > example, the first marker I get says "Syntax error on token "aspect", > interface expected". A lot of syntax errors follow. > > 2. I close Eclipse. > > 3. I open Eclipse. The already opened file still shows the error markers, > while Eclipse is building the workspace. Once the percentage reaches 74% > (don't know if this is important) the error markers disappear, and I see a > perfectly correct aspect with its advice markers. > > 4. I edit the aspect, making some noticeable change (let's say I write > anything to the console that I wasn't writing before). I save the aspect, > and Eclipse builds the workspace. At some point while building the > workspace, Eclipse again shows the error markers I describe at point 1. Once > reached this point I haven't been able to go back to a correct state > regarding error markers, and I'm unable to know if I'm really making any > mistake while coding, as the errors shown aren't correct. > > 5. I run the application. I get a warning telling me that there are errors, > but I anyway continue. The application runs correctly, with the change > introduced in point 4. > > Any ideas? I'm totally lost. > > Using Eclipse 3.2, AJDT 1.4.0.20060629124300, with a bunch of other plugins. > > Thanks in advance, best regards > Jose > > _______________________________________________ aspectj-users mailing list aspectj-users@eclipse.org https://dev.eclipse.org/mailman/listinfo/aspectj-users _______________________________________________ aspectj-users mailing list aspectj-users@eclipse.org https://dev.eclipse.org/mailman/listinfo/aspectj-users _______________________________________________ aspectj-users mailing list aspectj-users@eclipse.org https://dev.eclipse.org/mailman/listinfo/aspectj-users