I complete my post :
This pointcut :
expression="within(org.objectweb.jonas.webapp.jonasadmin..*) AND
call(public * org.objectweb.jonas.webapp.jonasadmin..*(..)) AND
!cflowbelow(call(public * org.objectweb.jonas.webapp.jonasadmin..*(..)) ) "?
doesnt work with the element <weaver> filled like this :
<weaver>
<include within="org.objectweb.jonas.webapp.jonasadmin..*"/>
</weaver>
When I comment the include tag, it runs ! but there are error send to
console :
[EMAIL PROTECTED] error can't determine superclass of missing type
org.objec
tweb.jonas_ws.deployment.lib.MappingFileManager
when weaving type org.objectweb.jonas_ws.deployment.api.ServiceRefDesc
when weaving classes
when weaving
[Xlint:cantFindType]
[EMAIL PROTECTED] error can't determine superclass of missing type
org.objec
tweb.jonas_ws.deployment.lib.MappingFileManager
when weaving type org.objectweb.jonas_ws.deployment.api.ServiceRefDesc
when weaving classes
when weaving
Is there a precedence between the within clause of aspctj/concrete-aspect
tag and the within clause of weaver/include tag ?
Cordialement / Best regards
Jean-Louis PASTUREL
_____
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] De la part de Jean-Louis PASTUREL
Envoyé : mardi 13 novembre 2007 09:04
À : [email protected]
Objet : [aspectj-users] Why i get java.lang.NoSuchFieldError ?
HI
I get this Exception java.lang.NoSuchFieldError:ajc$cfowCounter$0
With a pointcut defined in aop.xml like this :
expression="within(org.objectweb.jonas.webapp.jonasadmin..*) AND
call(public * org.objectweb.jonas.webapp.jonasadmin..*(..)) AND
!cflowbelow(call(public * org.objectweb.jonas.webapp.jonasadmin..*(..)) ) "?
When i remove the !cflowbelow(..) condition there is no error.
With AspectJ lastbuild : aspectj-DEVELOPMENT-20071112180727.jar. Running on
Windows XP, JRockit 1.5.0_11
Cordialement / Best regards
Jean-Louis PASTUREL
*********************************
This message and any attachments (the "message") are confidential and
intended solely for the addressees.
Any unauthorised use or dissemination is prohibited.
Messages are susceptible to alteration.
France Telecom Group shall not be liable for the message if altered, changed
or falsified.
If you are not the intended addressee of this message, please cancel it
immediately and inform the sender.
********************************
*********************************
This message and any attachments (the "message") are confidential and intended
solely for the addressees.
Any unauthorised use or dissemination is prohibited.
Messages are susceptible to alteration.
France Telecom Group shall not be liable for the message if altered, changed or
falsified.
If you are not the intended addressee of this message, please cancel it
immediately and inform the sender.
********************************_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users