Try merging multiple settings so Xset is only specified once: -Xset:weaveJavaPackages=true,weaveJavaxPackages=true
2009/1/21 <[email protected]>: > 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 : > > > > [appclassloa...@df6ccd] info AspectJ Weaver Version DEVELOPMENT built on > Thursday Dec 18, 2008 at 18:33:02 GMT > > [appclassloa...@df6ccd] info register classloader > sun.misc.launcher$appclassloa...@df6ccd > > [appclassloa...@df6ccd] info using configuration > file:/E:/opt/jonas_base/myaspectjweaver.jar!/META-INF/aop.xml > > [appclassloa...@df6ccd] info define aspect > iep.perf.aspects.abstractAspects.AbstractDurationMethodImpl > > [jclassloa...@179935d] info AspectJ Weaver Version DEVELOPMENT built on > Thursday Dec 18, 2008 at 18:33:02 GMT > > [jclassloa...@179935d] info register classloader > org.objectweb.jonas.server.jclassloa...@179935d > > [jclassloa...@179935d] info using configuration > file:/E:/opt/jonas_base/myaspectjweaver.jar!/META-INF/aop.xml > > [jclassloa...@179935d] info define aspect > iep.perf.aspects.abstractAspects.AbstractDurationMethodImpl > > [appclassloa...@df6ccd] warning javax.* types are not being woven because > the weaver option '-Xset:weaveJavaxPackages=true' has not been specified > > [jclassloa...@179935d] warning javax.* types are not being woven because the > weaver option '-Xset:weaveJavaxPackages=true' has not been specified > > [jclassloa...@bf053f] info AspectJ Weaver Version DEVELOPMENT built on > ThursdayDec 18, 2008 at 18:33:02 GMT > > [jclassloa...@bf053f] info register classloader > org.objectweb.jonas.server.jclassloa...@bf053f > > [jclassloa...@bf053f] info using configuration > file:/E:/opt/jonas_base/myaspectjweaver.jar!/META-INF/aop.xml > > [jclassloa...@bf053f] info define aspect > iep.perf.aspects.abstractAspects.AbstractDurationMethodImpl > > > > Cordialement / Best regards > > > > Jean-Louis Pasturel > [email protected] > > > > > > ********************************* > 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 > > _______________________________________________ aspectj-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/aspectj-users
