| Re: [aspectj-users] question on ajlib: |
With regards to ajlib:There is a class Log4jExecutionTracing not covered in the unit tests and for which there are no examples of its usage. It uses a class called "Traced" that I don't see anywhere and I *think* that is at the core of my not comprehending how to use this class.Basically if I have a test tracing aspect like this it works great (DummyObject is the class whose methods are to be traced):
Owenpackage com.AjlibTest;import org.codehaus.ajlib.util.tracing.ExecutionTracing;public aspect TestTraceAspect extends ExecutionTracing{public pointcut scope() : within(DummyObject);before(): scope(){System.out.println("Tracing");}}But if I change ExecutionTracing to Log4jExecutionTracing it doesn't weave anything (advice defined in com.AjlibTest.TestTraceAspect has not been applied [Xlint:adviceDidNotMatch]).much appreciated,
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users