Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Re: Why need AspectJ all libraries of my .jar I want to instrument



I have had a similar problem when trying to weave Apache AXIS which
contains several different JSSE factories (Sun, IBM, ...) some of which I
don't have. The simplest approach when binary weaving is to either use a
"within(my-packages)" pointcut or "!within(unused-packages)". This way the
weaver will only touch the classes that can be fully resolved.

Matthew Webster
AOSD Project
Java Technology Centre, MP146
IBM Hursley Park, Winchester,  SO21 2JN, England
Telephone: +44 196 2816139 (external) 246139 (internal)
Email: Matthew Webster/UK/IBM @ IBMGB, matthew_webster@xxxxxxxxxx
http://w3.hursley.ibm.com/~websterm/



Back to the top