Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [aspectj-users] Xset:weaveJavaxPackage not read in aop.xml

Thanks Andy
Merging -Xset options corrects the problem 

 
 
Jean-Louis Pasturel
ft/rosi/dps/iep/p-m
Expertise WAS tél. 05 61 30 83 39 mob: 06 75 96 34 98
jeanlouis.pasturel@xxxxxxxxxxxxxxxxxx
 

-----Message d'origine-----
De : aspectj-users-bounces@xxxxxxxxxxx
[mailto:aspectj-users-bounces@xxxxxxxxxxx] De la part de Andy Clement
Envoyé : mercredi 21 janvier 2009 18:32
À : aspectj-users@xxxxxxxxxxx
Objet : Re: [aspectj-users] Xset:weaveJavaxPackage not read in aop.xml

Try merging multiple settings so Xset is only specified once:

-Xset:weaveJavaPackages=true,weaveJavaxPackages=true


2009/1/21  <jeanlouis.pasturel@xxxxxxxxxxxxxxxxxx>:
> Before raising a bug, I would be sure that I have not made a mistake.
>
>
>
> I have a very basivc aop.xml like this :
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <aspectj>
>
>             <aspects>
>
>
>
>
>
> <concrete-aspect
> extends="iep.perf.aspects.abstractAspects.AbstractDurationMethod"
> name="iep.perf.aspects.abstractAspects.AbstractDurationMethodImpl">
>
> <pointcut expression="execution(public * supLeger..*.*(..))"
> name="methods"/>
>
> </concrete-aspect>
>
> </aspects>
>
>             <weaver options="-XnoInline -verbose -showWeaveInfo
> -Xlint:ignore -Xset:weaveJavaPackages=true -Xset:weaveJavaxPackages=true">
>
>                         <exclude within="iep.perf..*"/>
>
>             </weaver>
>
> </aspectj>
>
>
>
> The start of the was detect the correct aop.xml ( packaged in the same jar
> as Aspectjweaver and my own Aspects) as shown below  :
>
>
>
> [AppClassLoader@df6ccd] info AspectJ Weaver Version DEVELOPMENT built on
> Thursday Dec 18, 2008 at 18:33:02 GMT
>
> [AppClassLoader@df6ccd] info register classloader
> sun.misc.Launcher$AppClassLoader@df6ccd
>
> [AppClassLoader@df6ccd] info using configuration
> file:/E:/opt/jonas_base/myaspectjweaver.jar!/META-INF/aop.xml
>
> [AppClassLoader@df6ccd] info define aspect
> iep.perf.aspects.abstractAspects.AbstractDurationMethodImpl
>
> [JClassLoader@179935d] info AspectJ Weaver Version DEVELOPMENT built on
> Thursday Dec 18, 2008 at 18:33:02 GMT
>
> [JClassLoader@179935d] info register classloader
> org.objectweb.jonas.server.JClassLoader@179935d
>
> [JClassLoader@179935d] info using configuration
> file:/E:/opt/jonas_base/myaspectjweaver.jar!/META-INF/aop.xml
>
> [JClassLoader@179935d] info define aspect
> iep.perf.aspects.abstractAspects.AbstractDurationMethodImpl
>
> [AppClassLoader@df6ccd] warning javax.* types are not being woven because
> the weaver option '-Xset:weaveJavaxPackages=true' has not been specified
>
> [JClassLoader@179935d] warning javax.* types are not being woven because
the
> weaver option '-Xset:weaveJavaxPackages=true' has not been specified
>
> [JClassLoader@bf053f] info AspectJ Weaver Version DEVELOPMENT built on
> ThursdayDec 18, 2008 at 18:33:02 GMT
>
> [JClassLoader@bf053f] info register classloader
> org.objectweb.jonas.server.JClassLoader@bf053f
>
> [JClassLoader@bf053f] info using configuration
> file:/E:/opt/jonas_base/myaspectjweaver.jar!/META-INF/aop.xml
>
> [JClassLoader@bf053f] info define aspect
> iep.perf.aspects.abstractAspects.AbstractDurationMethodImpl
>
>
>
> Cordialement / Best regards
>
>
>
> Jean-Louis Pasturel
> jeanlouis.pasturel@xxxxxxxxxxxxxxxxxx
>
>
>
>
>
> *********************************
> 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
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
>
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users



*********************************
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.
********************************


Back to the top