[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [aspectj-users] debug cannot weave 'org.aspectj.lang.NoAspectBoundException'
|
Hi,
By default the weaver will not weave:
org.aspectj.*
java.*
javax.*
sun.reflect.*
(as listed here:
http://www.eclipse.org/aspectj/doc/released/devguide/ltw-specialcases.html
)
So you don't need to exclude them - and it is possible the warning you
get might be because you are trying to, I've never tried putting
org.aspectj in the exclude section. That rogue warning would be a bug
to fix.
There are overrides you can supply to force weaving of java.* and
javax.* if necessary but they are not the default.
Andy.
2008/6/30 Buck, Robert <rbuck@xxxxxxxxxxxx>:
> Hello,
>
> Why, when I specifically state not to weave anything in the aspectj
> packages, do I get these warnings?
>
> "debug cannot weave 'org.aspectj.lang.NoAspectBoundException'"
>
> Here are my weaver options:
>
> <weaver options="-Xlintfile:META-INF/Xlint.properties">
> <include within="com.verisign.*"/>
> <exclude within="org.apache.log4j.*"/>
> <exclude within="org.aspectj.*"/>
> <exclude within="java.*"/>
> <exclude within="javax.*"/>
> </weaver>
>
> Bob
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>