You could try prefixing that with file if using an absolute path:
org.aspectj.weaver.loadtime.configuration=file:/full/path/to/aop.xml
If you have tracing turned on your will see if it picks up these files in references to a method called ‘parseDefinitions’.
But I also looked around a bit, found this:
and that ties up with what I see in that code, if you don’t specify the ‘file:’ prefix then it assumes it is a relative path and will attempt to access it via a getResources() call on the class loaders involved.
The fact that the .ini I just linked includes that setting makes me think it will work under OSGi.
cheers, Andy
Hi Andy,
Thanks for your response. I tried what you proposed but it didn't seem to work. I added this property: org.aspectj.weaver.loadtime.configuration=/full/path/to/aop.xml And I have this in aop.xml: <aspectj> <weaver options="-warn:none -Xlint:ignore"> </weaver> </aspectj> If the above is correct then maybe your suspicion about possible class-loading issue is also correct. Do you have other ideas how can I suppress warn/lint messages? Cheers
_______________________________________________ aspectj-users mailing list aspectj-users@xxxxxxxxxxxTo change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/aspectj-users
|