Problems with HelloWorld example with eclipse 3.0M8 [message #579422] |
Mon, 10 May 2004 14:40 |
Michael Scharf Messages: 301 Registered: July 2009 |
Senior Member |
|
|
Hello,
I am trying AJDT with eclipse 3.0M8. I followed the tutorial and
I have problems with the HelloWorld example.
- aspectj compiler version 1.2rc1
- aspectj plugin version 0.6.8
When I create the aspect "World.aj" or "World.java" I get the following problems:
01 public class World {
02 pointcut greeting(): execution(* HelloWorld.sayHello(..));
03 after() : greeting() {
04 System.out.println("Hello to you too...")
05 }
06 }
Syntax error on token ";", invalid PseudoToken World.java aspectj line 2
Syntax error, insert ";" to complete ClassBodyDeclarations World.java aspectj line 3
Syntax error, insert ";" to complete BlockStatements World.java aspectj line 3
I use the aspectj editor. The syntax highlight highlights the aspectj keywords
correctly.
Any help or hints on what I am doing wrong?
Michael
|
|
|
Powered by
FUDForum. Page generated in 0.03156 seconds