Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Unit tests not "seeing" aspects in Eclipse

Sorry I didn't reply sooner Eric. You could try a dev build of AJDT (a release is only a blessed dev build, nothing more than that, so it shouldn't introduce instabilities). However, I'm not sure any changes have gone in that will adjust what you are seeing.

Is there anything unusual about the extra thing you are introducing that appears to be breaking things? I presume all the code is compiling clean (i.e. no errors in the problems view).  Certainly what you are describing is an AJDT issue - if there were inexplicable things in the problems view it is AspectJ that would be at fault but nothing in the problems view and errors in the editor indicate it is AJDT.

Andy


On 4 December 2013 08:51, Eric B <ebenze@xxxxxxxxxxx> wrote:
On 13-12-04 11:24 AM, Eric B wrote:
I'm trying to attach a screenshot of my eclipse window to illustrate what I mean.  I don't know if the mailing list accepts attachments, however.

As you can see in the screenshot, methods added in via aspects (setLastModified, setAutoUpdateLastModified, setAddress, getId, etc) are all flagged as
being errors.  However, the Problem view shows no errors.  The most frustrating part of this, of course, is that there is no auto-complete in the
editor when coding.

Sorry - my mistake actually.  The editor is not even proposing my autocomplete in regular classes either.  I mistakenly thought it was.  Is this a
problem with AJDT in eclipse?  Are there any newer builds that resolve these issues?


Apologies for the multiple postings; I'm slowly starting to understand what has happened.  I have recently added an default Interface implementation via an aspect which seems to be causing the issues in these classes.  By adding these intertype declarations, it appears that all the code completion for the classes in question is aborted, such that even the Roo generated aspects (non-intertype declarations) no longer work.

This is somewhat difficult to deal with; are there any updates to AJDT that will allow for the auto-complete to work?  I'm running AJDT 2.2.3.


Thanks,

Eric


_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users


Back to the top