Skip to main content

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

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

Back to the top