Load-time weaving

Load time weaving enables you to write your aspects and Java classes in separate projects and defer weaving them together until the point at which the classes are loaded.

To launch a load-time weaving application:

  1. Select Run > Run..
  2. Choose AspectJ Load-Time Weaving Application
  3. Select a project and main method as normal
  4. Switch to the LTW Aspectpath tab and add the project(s) and/or Jar file(s) containing your aspects using the Add XXX buttons
  5. Click OK to launch

Related tasks
Launching a program with the main method in a class
Launching a program with the main method in an aspect
Launching a program with an aspectpath or an outjar
Debugging a program