When in Eclipse, you can add jars to the in path from the AspectJ build page in the project properties. However, I would recommend that you move to a later version of Eclipse and AJDT, which will have much better in path support.
On Wed, Aug 5, 2009 at 4:22 PM, Ramnivas Laddad<[email protected]> wrote: > You can use binary weaving to weave into third-party jars. Take a look at > the -inpath option to ajc. > -Ramnivas > > On Wed, Aug 5, 2009 at 3:18 PM, <[email protected]> wrote: >> >> Is there a way I can put advice on code that is not >> mine (3rd party code already compiled in a JAR)? >> Use case: method a() calls b() which calls c() which calls d(). >> a() is my code while b, c, and d are not. >> >> >> something like this: >> �...@afterreturning(pointcut = "call(* com.foo.Bar.*(..))") >> public void logCall(JoinPoint thisJoinPoint) { >> log.info(thisJoinPoint); >> } >> >> works for b() but not d(). There are many paths to d(), >> so I really want to capture it at that level. >> >> I am using annotations and compiling with >> Eclipse 3.3 and Java 1.6. >> - Dan >> _______________________________________________ >> aspectj-users mailing list >> [email protected] >> https://dev.eclipse.org/mailman/listinfo/aspectj-users > > > _______________________________________________ > aspectj-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/aspectj-users > > _______________________________________________ aspectj-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/aspectj-users
