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

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 "" 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 aspectj line 2
Syntax error, insert ";" to complete ClassBodyDeclarations aspectj line 3
Syntax error, insert ";" to complete BlockStatements aspectj line 3

I use the aspectj editor. The syntax highlight highlights the aspectj keywords

Any help or hints on what I am doing wrong?

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 Apr 22 22:46:26 GMT 2019

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

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

Back to the top