Results 1 to 3 of 3

Thread: AspectJ dependencies on schema based config

Hybrid View

  1. #1
    Join Date
    Nov 2005
    Posts
    114

    Default 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. #2
    Join Date
    Jun 2006
    Location
    SF Bay Area, California
    Posts
    524

    Default

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

    -Ramnivas
    Ramnivas Laddad (Follow me on Twitter)
    AspectJ in Action: Enterprise AOP with Spring Applications (2nd edition). Now available!

  3. #3
    Join Date
    Nov 2005
    Posts
    114

    Default

    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."

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •