[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [aspectj-users] Problem with binary weaving
|
Hi,
what I forgot to mention.
When I tried it from console I got log messages that all the
classes were woven. But when I decompiled the classes I saw
no changes to the code.
Cheers
Florian
Florian Felgenhauer hat am 16. März 2007 um 19:35 geschrieben:
Hi,
I have a problem with binary weaving.
I have some code I like to trace.
So i changed the tracing example to trace all the code in
my package de.hwb.* (see source code below).
I tried weaving from console:
C:\temp\aspect>C:\temp\aspectj1.5\bin\ajc -cp C:\temp\aspectj1.5\lib\aspectjrt.j
ar;C:\temp\aspectj1.5\lib\aspectjtools.jar;classes_hwb;C:\jboss-4.0.4\lib\log4j-
boot.jar;classes_tracing -inpath classes_hwb -aspectpath classes_tracing
I also tried it from within eclipse but got a message
Severity and Description Path Resource Location Creation Time Id
Project HWBTracing is missing required inpath entry: classes_hwb HWBTracing Unknown 1174069294821 82905
when I tried to add the classes to the inpath.
Whats going wrong here.
Cheers
Florian
package tracing.lib;
aspect TraceMyClasses extends AbstractTrace {
/**
* The application classes
*/
pointcut classes(): within(de.hwb.*);
/**
* The constructors in those classes - but only the ones with 3
* arguments.
*/
pointcut constructors(): execution(new(..));
/**
* This specifies all the message executions.
*/
pointcut methods(): execution(* *(..));
}
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users