Is it definetly not reading your file? if weaving javax packages then that needs some fiddling so that the javax packages are loaded by the same loader against which this weaver is configured. Have you specified something like "-verbose" to see whether it then behaves like it has picked up the file?
the setXmlFiles() method on BcelWorld is not for configuring it with options, it is for passing in aspect scopes - something only half implemented in the codebase so far. you are more likely to get further with performExtraConfiguration(String config) where config is the value of -Xset, so "weaveJavaxPackages=true" but iirc you must make that call very early on, before the weaver is used. I haven't tried any of this though... Andy. 2009/5/5 Villazón Alex <[email protected]>: > Hi, > I would like to enable some options when using the WeavingAdaptor. > > I tried to add a aop.xml in the META-INF directory, adding this kind of > options > > <weaver options="-Xset:weaveJavaxPackages=true"> > > but it seems that the WeavingAdaptor does not read the aop.xml file... > > Probably I could use setXmlFiles() from BcelWorld, directly from a subclass > of WeavingAdaptor.. or somehow use extraconfig, but I'm not sure how to do > that.. > > Any help will be appreciated. > > Thanks, > > Alex > > _______________________________________________ > 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
