Announcement Announcement Module
Collapse
No announcement yet.
AspectJ dependencies on schema based config Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • AspectJ dependencies on schema based config

    A simple question: Is aspectjrt.jar required with the schema based configuration when only AspectJ style pointcuts are used and aspectjweaver.jar is in the classpath?

  • #2
    aspectjweaver.jar is a superset of aspectrt.jar. So if you have the former in the classpath, you don't need the latter.

    -Ramnivas

    Comment


    • #3
      Hmm, I just peeked inside and yes, you are right.

      So the reference at section 7.2 AspectJ support is a bit confusing :
      "You will also need two AspectJ libraries on the classpath of your application: aspectjweaver.jar and aspectjrt.jar."

      Comment

      Working...
      X