Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » Newbie on Book
Newbie on Book [message #61414] Sun, 29 January 2006 17:08 Go to next message
J. Michael Dean, M.D. is currently offline J. Michael Dean, M.D.
Messages: 218
Registered: July 2009
Senior Member
Working with the Colyer et al book and have loaded the examples, converted
the simple Java project to AspectJ. Am using Eclipse 3.1.1, AspectJ 1.5.,
JRE 5.0, Mac OSX 10.4.4. But the outline view is not doing anything
resembling the book - incremental compiling is turned on.

I tried turning off incremental compiling and then ended up with syntax
errors throughout the examples that were not reverse by turning it on again;
I actually had to remove the Aspect nature from the project and then convert
it again.

When I click on the PolicyImpl.java file, I get normal Outline view but when
I click on the PolicyChangeNotification.aj file I get nothing until I put in
the declare warning; however, the "matched by:" annotations do not appear.
There is no "+" next to the declare warning entry, which is the only thing
visible in the outline view.
Re: Newbie on Book [message #61440 is a reply to message #61414] Sun, 29 January 2006 18:29 Go to previous message
Matt Chapman is currently offline Matt Chapman
Messages: 429
Registered: July 2009
Senior Member
Hi,

The book uses AJDT 1.1, but you're now using AJDT 1.3, and things have
changed a little. The outline view now shows only the structure of the
current file (consistent with other editors in eclipse), and the
crosscutting relationships like "advised by" and "matched by" are now
shown in a separate view called the cross references view. You can open
this by right clicking on something in the outline view and selecting
"open cross references". The view will then update as you select things in
the editor or outline view. A common arrangement is to place the cross
references view below the outline view.

Regards,

Matt.

J Michael Dean wrote:

> Working with the Colyer et al book and have loaded the examples, converted
> the simple Java project to AspectJ. Am using Eclipse 3.1.1, AspectJ 1.5.,
> JRE 5.0, Mac OSX 10.4.4. But the outline view is not doing anything
> resembling the book - incremental compiling is turned on.

> I tried turning off incremental compiling and then ended up with syntax
> errors throughout the examples that were not reverse by turning it on again;
> I actually had to remove the Aspect nature from the project and then convert
> it again.

> When I click on the PolicyImpl.java file, I get normal Outline view but when
> I click on the PolicyChangeNotification.aj file I get nothing until I put in
> the declare warning; however, the "matched by:" annotations do not appear.
> There is no "+" next to the declare warning entry, which is the only thing
> visible in the outline view.
Re: Newbie on Book [message #592010 is a reply to message #61414] Sun, 29 January 2006 18:29 Go to previous message
Matt Chapman is currently offline Matt Chapman
Messages: 429
Registered: July 2009
Senior Member
Hi,

The book uses AJDT 1.1, but you're now using AJDT 1.3, and things have
changed a little. The outline view now shows only the structure of the
current file (consistent with other editors in eclipse), and the
crosscutting relationships like "advised by" and "matched by" are now
shown in a separate view called the cross references view. You can open
this by right clicking on something in the outline view and selecting
"open cross references". The view will then update as you select things in
the editor or outline view. A common arrangement is to place the cross
references view below the outline view.

Regards,

Matt.

J Michael Dean wrote:

> Working with the Colyer et al book and have loaded the examples, converted
> the simple Java project to AspectJ. Am using Eclipse 3.1.1, AspectJ 1.5.,
> JRE 5.0, Mac OSX 10.4.4. But the outline view is not doing anything
> resembling the book - incremental compiling is turned on.

> I tried turning off incremental compiling and then ended up with syntax
> errors throughout the examples that were not reverse by turning it on again;
> I actually had to remove the Aspect nature from the project and then convert
> it again.

> When I click on the PolicyImpl.java file, I get normal Outline view but when
> I click on the PolicyChangeNotification.aj file I get nothing until I put in
> the declare warning; however, the "matched by:" annotations do not appear.
> There is no "+" next to the declare warning entry, which is the only thing
> visible in the outline view.
Previous Topic:Newbie on Book
Next Topic:pointcut all method calls on an object that implements an interface
Goto Forum:
  


Current Time: Thu Jul 31 17:54:59 EDT 2014

Powered by FUDForum. Page generated in 0.02044 seconds