[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
Re: [aspectj-users] debug cannot weave 'org.aspectj.lang.NoAspectBoundException'
|
- From: "Andy Clement" <andrew.clement@xxxxxxxxx>
- Date: Mon, 30 Jun 2008 14:03:58 -0700
- Delivered-to: aspectj-users@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=3vCTXolN64u8KgWVsMyng9no207hHy3L4uo72Mp1oIA=; b=ViHceFyOnK9uJGmnYfoCf+9vX59CSYOfYaAL1ctDeSf/eVkZhUChuXWql0waKrJwWk e6hyb4Mcvg2f70msrDZA59sPJqCCs0WQTPPjRBhGlFK9zg76qWCLzr5T6NZaB+dyAOtB GhiG2TkQ1lMQ8Fx9WDs8fSOGHyI4ukEf4KJBk=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=q7agIfKpLN3Idc00D94pwl3G6OKYXJXpD2QFrf3Xlk/pO/4JSH4Vn+CV47zryYyWxw a3oXuTtZFtql6lnEQTqHE4qcz0uxn/U9USX00q+fgqWp/f/6PPAzNvsZ+XHqydcu4mMi 9QQuOgVRQCOYcUy4wkdKHsQEYBx3Ed2VNrxr4=
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
>