Just a quick followup - this is JEE application - NOT a Spring application, if that makes any difference to enabling LTW dynamically.
Thanks, Eric On Tue, Oct 17, 2017 at 11:54 AM, Eric B <[email protected]> wrote: > Hi, > > I recently read something on a Redhat tech doc (https://access.redhat.com/ > solutions/328513) indicating that as of AspectJ 1.8.7, one can enable LTW > without using the javaagent on JVM startup. I've done a quick google > search to see if I can find additional documentation/references to this, > but can't seem to find relevant links for it. > > *Note:* The AspectJ 1.8.7 loadtime weaving agent can now be dynamically > attached to a JVM after it has started no need to use -javaagent just add > the AspectJ libs to the war lib folder. > > Can anyone provide me with more information as to what is required to > enable LTW in an EAR project? Do I just have to drop the aspectjweaver.jar > in the EAR/lib folder? What mechanism is being used to inject the weaving > agent? Is there additional documentation in the AJ docs that pertains to > this that I missed? I don't see anything on: https://www.eclipse.org/ > aspectj/doc/released/devguide/ltw-configuration.html# > enabling-load-time-weaving > > Thanks, > > Eric > >
_______________________________________________ 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
