Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » Problems with HelloWorld example with eclipse 3.0M8
Problems with HelloWorld example with eclipse 3.0M8 [message #579422] Mon, 10 May 2004 14:40
Michael Scharf is currently offline Michael ScharfFriend
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
Previous Topic:AJDT-install problem: requires plug-in org.eclipse.pde.core etc...
Next Topic:How to add aspects to multiple eclipse plugin projects?
Goto Forum:
  


Current Time: Mon Jun 25 06:36:55 GMT 2018

Powered by FUDForum. Page generated in 0.01675 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top