|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Advice jboss interface/class doesnt work
_______________________________________________ aspectj-users mailing list aspectj-users@... https://dev.eclipse.org/mailman/listinfo/aspectj-users |
||
|
|
Re: Advice jboss interface/class doesnt workThe warning "advice has not been applied" indicates that at the time you are writing and compiling the aspect, the advice did not find a match on code it was exposed to (inpath/other source). This is normal *if* you plan to use it later with load time weaving - or do you actually have the JBoss types around on the inpath?
If you want to remove the warning so you don't have to worry about it, use: @SuppressAjWarnings Andy. 2008/9/3 Rashid Mahmood <rashid_m180@...>
_______________________________________________ aspectj-users mailing list aspectj-users@... https://dev.eclipse.org/mailman/listinfo/aspectj-users |
||
|
|
Re: Advice jboss interface/class doesnt work
_______________________________________________ aspectj-users mailing list aspectj-users@... https://dev.eclipse.org/mailman/listinfo/aspectj-users |
||
|
|
Re: Advice jboss interface/class doesnt workHow are you intending to weave the code that makes those calls you are interested in? Is it source code in the same project as your aspect? Is it bytecode on the inpath for your project? In either of these cases the advice should match in the IDE and you dont need to suppress the message. Or, are you developing the aspect standalone then deploying it through load time weaving sometime later in JBoss itself? I presume the latter as you have mentioned aop.xml, and so the warning is reasonable - at the time you are compiling the code there is nothing for it to match. If you are load time weaving, I'm afraid I don't know how to configure JBoss for ltw - but I'm sure someone else on the list can help you.
Andy. 2008/9/3 Rashid Mahmood <rashid_m180@...>
_______________________________________________ aspectj-users mailing list aspectj-users@... https://dev.eclipse.org/mailman/listinfo/aspectj-users |
| Free Forum Powered by Nabble | Forum Help |