[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] How to turn off Xlint messages in OSGi LTW

I thought there was something in for that but I can't find it!

There is a property for pointing at a file URL that is your config file (aop.xml):


org.aspectj.weaver.loadtime.configuration


But I'm not 100% sure how the class loader model under OSGi interferes with the code that checks that property. Have you looked at Equinox Aspects that discusses OSGi+AspectJ (Âhttps://www.eclipse.org/equinox/incubator/aspects/equinox-aspects-quick-start.phpÂ- it might be a bit out of date).

Andy

On 17 April 2018 at 06:49, Bogus Abuser <bogusabuser@xxxxxxxxx> wrote:
Hi friends,
I'm using AspectJ 1.8 in OSGi with LTW and I'm wondering how to turn off all the Xlint messages.
I've tried:

aj.weaving.verbose=false
org.aspectj.weaver.showWeaveInfo=false
org.aspectj.osgi.verbose=false

but didn't seem to help.

As far as I can see in the doc I can declare -Xlint:ignore in aop.xml but I'd like to do the same with a system property. Is it possible?
If not how can I use aop.xml in OSGi?

Cheers!

_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/aspectj-users