Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Newbie Question: Eclipse/AJDT integration

This is the third of my newbie questions and probably the last of the day. This one is unrelated to the other two (I think) and deals with the integration of Eclipse and AJDT.

I'm wondering if I've messed up the installation of AJDT somehow?

I'm running Eclipse 3.71 (Build id: M20110909-1335). When I click on Windows/Open Perspective, I get TWO instances of Aspect Visualization, one that says "<Aspect Visualization>" and one that says "Aspect Visualization". In other words, the two instances differ only by the presence of angle brackets around the first one. I'm a little concerned about that but I'm not sure what to do about it.

Also, when I find warnings underlined in yellow in my aspects and right-click, I frequently get some of the same options twice. For instance, I have the following in one aspect with the first line underlined in yellow:

after() returning() : count2() {
        System.out.println("...Needles counted");  //$NON-NLS-1$
    }

When I right-click on the first line, I get three quick fixes:
- add "static" modifier
- add @SuppressWarnings "static-method' to 'a()'
- add @SuppressWarnings "static-method' to 'a()'

It's no big problem to ignore the duplicate fixes but I'm a little concerned that this may indicate some kind of problem, perhaps with the installation. I didn'notice any error messages when I installed AJDT but maybe I missed something....

I should mention that I installed the current release yesterday so the code should be up-to-date.

Should I uninstall/reinstall AJDT??
--
Rhino


Back to the top