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 <bogusabu...@gmail.com> 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@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
_______________________________________________
aspectj-users mailing list
aspectj-users@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to