Hi Mikael, In order to support the woven advice at runtime, there are a few types you need to have around. For this reason when you run your woven app you should also include the small aspectjrt.jar (aspectj runtime). It defines some common types like exception types that AspectJ might throw. If you did compile time weave then there isn't anything else you need to do when you run it (you don't need the weaver agent for example).
Andy On Tue, 23 Oct 2018 at 06:26, Mikael Petterson <[email protected]> wrote: > Hi, > > I have an aspect ( aspectj ) in a library. I make another java app > dependent on this library. Then I weave the aspect library in at compile > time e.g. building the java application. > Will the aspect be enabled, when pointcut matches, by default when I run > the application? I guess I don't have to do anything extra or? > > br, > > //mikael > > > > > _______________________________________________ > aspectj-users mailing list > [email protected] > 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 [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/aspectj-users
