[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] New to Aspectj

Hi, Im new to Aspectj and i've just started tipping my toe in the water, im
trying to add simple aspect tracing to my already existing code put im
getting an error saying Syntax error on token "aspect", interface expected,
this is the aspect below, Im using eclipse 3.6 and have downloaded the IDE
for Aspectj and i am running so it can see that the aspect and before are
keywords but im still getting the error.

Any ideas why this is happening would be great
	
		aspect SimpleTracing {
		    pointcut tracedCall():
		        call(void round1.displayHeats());
			

		    before(): traceCall() {
		    	System.out.println("Entering: " + thisJoinPoint);
		    }
    	}	 
-- 
View this message in context: http://aspectj.2085585.n4.nabble.com/New-to-Aspectj-tp3042137p3042137.html
Sent from the AspectJ - users mailing list archive at Nabble.com.