[aspectj-users] Aspectj in debugging third party library in eclipse

2014-10-09 Thread mufc_fan
Hi ...I am new to Aspectj... I want to know how to debug the third party libraries using aspectj in eclipse with simple steps.. Like method entry and exit points in the library..can any one share their knowledge -- View this message in context: http://aspectj.2085585.n4.nabble.com/Aspectj-in-de

Re: [aspectj-users] Aspectj in weaving a jar file

2014-10-09 Thread Andy Clement
I have to assume it is related to the pointcuts involved. Hopefully you are doing something like this: aspect MyAspect { before(): execution(* add(..)) { System.out.println(“add() is about to run”); } before(): execution(* display(..)) { System.out.println(“display() is about to ru

[aspectj-users] Aspectj in weaving a jar file

2014-10-09 Thread mufc_fan
Hi I am new to aspectj. I have a jar in which function named add exists which calls another function display. I imported it into the aspectj aj file and wrote pointcut for the function display but it never works. But it works for the function add. Can any one share their knowledge... Thanks... -

Re: [aspectj-users] How to reuse the AspectJ pattern matching language

2014-10-09 Thread Henrique Rebêlo
Hi Andy, Thanks for the clarification. I'll take a look and get it back to you If I still have issues or questions. All the best, Henrique On Wed, Oct 8, 2014 at 4:36 PM, Andy Clement wrote: > It is a bit more advanced than simple pattern matching, but it is reusable > with certain constraints